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
Is c is a middle level language?
What are dangling pointers? How are dangling pointers different from memory leaks?
How can a string be converted to a number?
What is the use of a semicolon (;) at the end of every program statement?
What is variable and explain rules to declare variable in c?
Explain the term printf() and scanf() used in c language?
Give me the code of in-order recursive and non-recursive.
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the 'named constructor idiom'?
What is meant by int main ()?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
what is uses of .net
What are the key features in c programming language?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?