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?
1 ответ
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?