Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

Pick the best statement for the below program:#include "stdio.h"int main(){union {int i1; int i2;} myVar = {.i2 =100};printf("%d %d",myVar.i1, myVar.i2);return 0;}(A) Compile error due to incorrect syntax of initialization.(B) No compile error and it’ll print “0 100”.(C) No compile error and it’ll print “100 100”.

Answer»
Previous Next