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 / srinath

x=8;
y=0;
z=16;

Is This Answer Correct ?    19 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are Structure passing and returning implemented by the complier?

1109


regarding pointers concept

1981


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4625


What is formal argument?

1095


What are volatile variables in c?

893


Is malloc memset faster than calloc?

1018


Is python a c language?

951


What are linked lists in c?

1088


I came across some code that puts a (void) cast before each call to printf. Why?

1157


What is extern storage class in c?

947


What does char * * argv mean in c?

1004


Explain built-in function?

1093


What are the features of the c language?

1038


What are the advantages of Macro over function?

1930


Explain heap and queue.

1015