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

What are header files in c?

1080


Explain how can you determine the size of an allocated portion of memory?

1116


Explain the concept and use of type void.

1118


What happens if header file is included twice?

1152


Is there a built-in function in C that can be used for sorting data?

1269


Explain what are run-time errors?

1095


How do I use void main?

1091


What is the difference between far and near ?

1196


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2390


Why structure is used in c?

1192


What will be the outcome of the following conditional statement if the value of variable s is 10?

1296


What is the use of bit field?

1184


What is the heap?

1221


Why does everyone say not to use scanf? What should I use instead?

1423


What is hash table in c?

1025