Question:medium

Consider the following statements in C to write a program in their order of occurrence :
A. Printf("%d", i);

B. void main ( )

C. int i=5;

D. #include <stdio.h>

Choose the correct answer from the options given below :

Show Hint

Remember the skeleton: Include $\to$ Main $\to$ Declare $\to$ Execute. You can't use a tool (printf) without its manual (stdio.h), and you can't print a variable (i) before you create it!
Updated On: Jun 6, 2026
  • D, B, C, A
  • B, D, C, A
  • B, C, A, D
  • D, B, A, C
Show Solution

The Correct Option is A

Solution and Explanation

Was this answer helpful?
0


Questions Asked in CUET (PG) exam