[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Basic Concepts - Discussion

Home > C Programming > Basic Concepts > MCQs Questions Discussion

516 / 90

What will be output of the following "C" code?

#include <stdio.h>
void main()
{
printf("%d ",printf("FACE")); 
}

AFACE4

BError

CGarbage Value

DFACE

Answer: Option (Login/Signup)

Show Explanation

Now, since no. of characters in the word FACE is 4, and we know that printf() return the no of characters that are passed as an argument.

Therefore, the output of this code will be FACE4.

Asked In :: TCS

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here