how is memory allocated in expression int *i=100; ?? above statement does’nt show any error..but is the statement correct?? because in documents its written “when a pointer is declared it doesnot point anywhere,we must set it to point sumwhere before using it”..please clarify..
100 is the memory address that this pointer i is addressing to.