Skip to content
Related Articles

Related Articles

Improve Article

C | Input and Output | Question 12

  • Difficulty Level : Basic
  • Last Updated : 28 Jun, 2021

Output of following program?




#include<stdio.h>
int main()
{
    printf("%d", printf("%d", 1234));
    return 0;
}

(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

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up
Recommended Articles
Page :