what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
}
Answer Posted / sweta
fail
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the easiest sorting method to use?
Is array name a pointer?
What is the difference between class and object in c?
What is the difference between typedef struct and struct?
What is a shell structure examples?
Which is more efficient, a switch statement or an if else chain?
Do array subscripts always start with zero?
When should a type cast be used?
What is declaration and definition in c?
What is default value of global variable in c?
Why does everyone say not to use gets?
c language interview questions & answer
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
In c language can we compile a program without main() function?
What is a void * in c?