What is the output of the following program ?

#include

main()

{

   int a , b;

   a = 10;

   printf(“%d”,(a == 1) ? 20: 30 );

   printf(“%d”,(a == 10) ? 20: 30 );

}

1
2030
2
3020
3
3030
4
2020

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation