Consider the following C program: Assume that the input to the program from…
PYQ GATE 2024
Consider the following C program:

Assume that the input to the program from the command line is 1234 followed by a newline character. Which one of the following statements is CORRECT?
- A.
The program will not terminate
- B.
The program will terminate with no output
- C.
The program will terminate with 4321 as output
- D.
The program will terminate with 1234 as output
Attempted by 618 students.
Sign up free to check your answer
Sign up freeLoading lesson…

