1.

What is the output of the program?void main ( ){char c[5]; int x;}abc[];  abc[]={"lird",10,"labs",20,"research",30};  printf("%s",abc[1].c);  printf(",%d",abc[2].x); } a) errorb) labs,20 c) labs,30 d) labs,10 

Answer»

Correct option: a) error

reason: you cannot declare structure as unsized array. 



Discussion

No Comment Found

Related InterviewSolutions