structure inside a structure in C
Pls help me with this programm..
Code:
#include<stdio.h> |
memset(snd.class,0,sizeof(struct students));
this line will segfault because snd.class is not initialized. malloc some memory before usage |
'snd' is a pointer, so it won't compile on the first place
|
Code:
... |
All times are GMT -5. The time now is 08:52 PM. |