0
Is memory allocated for ptr variable in the given case?
struct str{ char *ptr; }; struct str s,*sp; sp=&s; Can I write value into the ptr using sp from user input? Is memory allocated for the ptr?
0 Resposta
struct str{ char *ptr; }; struct str s,*sp; sp=&s; Can I write value into the ptr using sp from user input? Is memory allocated for the ptr?