C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
515 / 90
Predict the output of following "C" code:
void main()
{
if( printf(""))
printf("Face");
else
printf("Focus");
}
void main()
{
if( printf(""))
printf("Face");
else
printf("Focus");
}
AError
BFace
C""Focus
DFocus
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
STEP-BY-STEP
Here, the test condition inside if is false, so the if block does not execute, so else will execute, giving the output as Focus.
Read Full Answer
Report Error
Please Login First Click Here