Question
What is the output of this C code?
int main()
{
if (printf("%d", printf(")))
printf("We are Happy");
else if (printf("1"))
printf("We are Sad");
}
Answer: Option D
Was this answer helpful ?
none
Was this answer helpful ?
Submit Solution