What would be displayed after the following code executes?int x = 5;printf(“X is: n%i”, 10);
A. The output would be X is: The number 5 would appear on thenext line.
B. X is: 5
C. X is: 10
D. The output would be X is: and the number 10 would appear onthe next line.
Answer
C. X is: 10