?
What will be the output of the following C code?
What will be the output of the following C code?
#include<stdio.h>
#define sf 10
main()
{
if(sf==100)
printf("good");
else
{
printf("bad");
sf=100;
}
printf("%d",sf);
}
#include<stdio.h>
#define sf 10
main()
{
if(sf==100)
printf("good");
else
{
printf("bad");
sf=100;
}
printf("%d",sf);
}
Join the Discussion
Login to post a comment or share your explanation.
Login