C | Input and Output | Question 12
Output of following program?
#include<stdio.h> int main() { printf("%d", printf("%d", 1234)); return 0; } |
chevron_right
filter_none
(A) 12344
(B) 12341
(C) 11234
(D) 41234
Answer: (A)
Explanation: printf() returns the number of characters successfully printed on the screen.
Quiz of this Question
Recommended Posts:
- C | Input and Output | Question 13
- C | Input and Output | Question 11
- C | Input and Output | Question 13
- C | Input and Output | Question 8
- C | Input and Output | Question 13
- C | Input and Output | Question 6
- C | Input and Output | Question 5
- C | Input and Output | Question 4
- C | Input and Output | Question 9
- C | Input and Output | Question 3
- C | Input and Output | Question 13
- C | Input and Output | Question 2
- Basic Input and Output in C
- Input-output system calls in C | Create, Open, Close, Read, Write
- Output of C Program | Set 29



