What will be output if you compile and execute the following ‘C’ code?
void main() { float a=5.2; if(a==5.2) printf("Equal"); else if(a<5.2) printf("Less than"); else printf("Greater than"); }
float a=5.2; if(a==5.2) printf("Equal"); else if(a<5.2) printf("Less than"); else printf("Greater than"); }
void main(){ int i=4,x; x=++i + ++i + ++i; printf("%d",x); }
यदि आप निम्नलिखित 'C' कोड को संकलित और निष्पादित करते हैं तो आउटपुट क्या होगा?
What will be the output of following program
void main()
{
int x,y = 10;
x = y * NULL;
printf(“\n %d \n", x);
}
What is the output of this C code?
#include
static int x;
if (x++ < 2)
main();