Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is an arrays?

1139


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

1330


what are the 10 different models of writing an addition program in C language?

1941


write a program to print largest number of each row of a 2D array

2372


Which of these functions is safer to use : fgets(), gets()? Why?

1162


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1445


Explain do array subscripts always start with zero?

1284


What is the difference between printf and scanf )?

1149


What is pointer & why it is used?

1172


How can you convert integers to binary or hexadecimal?

1072


What are register variables? What are the advantage of using register variables?

1231


Write a program to identify if a given binary tree is balanced or not.

1229


Write a program to print all permutations of a given string.

1234


Explain how can I make sure that my program is the only one accessing a file?

1275


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?

2363