Explore topic-wise InterviewSolutions in .

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

1.

#include <stdio.h>int main(){int x = 3;if (x == 2); x = 0;if (x == 3) x++;else x += 2;printf("x = %d", x);return 0;}(A) x = 4(B) x = 2(C) Compiler Error(D) x = 0

Answer»