what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
}
Answer Posted / srikanth patchava
fail
if check value is thear or not ..if its thear it will got
frist printf other wise it will goto second printf
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is python slower than c?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is the advantage of c?
What are Macros? What are its advantages and disadvantages?
Explain the use of keyword 'register' with respect to variables.
code for quick sort?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the use of c language in real life?
Who invented b language?
What are the types of type qualifiers in c?
What are linker error?
What is size of union in c?
What is the 'named constructor idiom'?
What language is windows 1.0 written?
Why static variable is used in c?