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...

#include<stdio.h>
void main()
{
int a=5,b=6,c;
int x=(a<b)+7;
int y=(x==7)*9;
int z=(c=x+y)*2;
printf("%h %h %h",x,y,z);
}
What is the output? Explain it.

Answer Posted / suresh mca

output
x=8
y=0
z=16

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is methods in c?

1142


Explain the difference between ++u and u++?

1187


explain what is fifo?

1135


What is a pointer value and address in c?

1183


Is boolean a datatype in c?

1131


Why is C language being considered a middle level language?

1212


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1204


What is the size of structure in c?

1216


Explain spaghetti programming?

1321


What does the error message "DGROUP exceeds 64K" mean?

1277


What is meant by int main ()?

1257


Why shouldn’t I start variable names with underscores?

1119


Are the expressions * ptr ++ and ++ * ptr same?

1210


application attempts to perform an operation?

2035


What is the difference between near, far and huge pointers?

1159