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
What is an arrays?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
what are the 10 different models of writing an addition program in C language?
write a program to print largest number of each row of a 2D array
Which of these functions is safer to use : fgets(), gets()? Why?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
Explain do array subscripts always start with zero?
What is the difference between printf and scanf )?
What is pointer & why it is used?
How can you convert integers to binary or hexadecimal?
What are register variables? What are the advantage of using register variables?
Write a program to identify if a given binary tree is balanced or not.
Write a program to print all permutations of a given string.
Explain how can I make sure that my program is the only one accessing a file?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?