what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
}

Answer Posted / vignesh1988i

FAIL



THANK U

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are predefined functions in c?

553


What is the use of bitwise operator?

674


Differentiate between static and dynamic modeling.

605


What is wrong with this initialization?

575


What is the difference between formatted&unformatted i/o functions?

604






How do we make a global variable accessible across files? Explain the extern keyword?

1405


Should I learn data structures in c or python?

565


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

743


Do you know what are the properties of union in c?

569


Explain how can I avoid the abort, retry, fail messages?

574


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1633


while initialization of array why we use a[][2] why not a[2][]...?

1848


Is it possible to have a function as a parameter in another function?

588


List the difference between a "copy constructor" and a "assignment operator"?

568


Why should I use standard library functions instead of writing my own?

658