Q. What is the output?

Code:
void main()
{
int a=10,b=20;
char x=1,y=0;
if(a,b,x,y)
{
printf(“EXAM”);
}
}
  • (A) XAM is printed
  • (B) exam is printed
  • (C) Compiler Error
  • (D) Nothing is printed
πŸ’¬ Discuss
βœ… Correct Answer: (D) Nothing is printed

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
189
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
93%
Success Rate