››
Author : Praveen Kumar Karthikeyan
valore di ritorno di un malloc () per un tipo di struttura
#include>stdio.h struct student{int roll_no;int mark;struct student *p;} ;int main(){struct student *stu;stu=malloc(sizeof(struct student));}
qual è il valore effettivo ritorno di un malloc() per un tipo di struttura? come viene assegnato al variabile di struttura? ora per la dichiarazione, Struct student *stu;
alloca Read more »
struttura e puntatori
#include>stdio.h struct student
{int roll_no;int total_marks;
} s1;int main()
{struct student *stu;stu= Read more »