In the above structure code, in scanf statement are we trying to store the sting in the pointer or at the address pointed by the pointer.....
If we declare
Code:
char *p;
p = 12;
*p = 20;
it means that we are storing 12 in p at 2nd stmt and 20 is being stored at address pointed by the p i.e at address 12.
So, I think in the scanf statement when we are trying to store the string in t.p, the address of the string will be stored in t.p... right?.....
If not please tell me the correct one...in detail...please