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 the use of ?: Operator?

1110


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1064


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

1395


What is function in c with example?

1110


Explain what is a static function?

1077


What is the code for 3 questions and answer check in VisualBasic.Net?

2131


How are pointers declared in c?

1025


What is a spanning Tree?

1539


What is 1d array in c?

1053


Explain data types & how many data types supported by c?

1055


What is new line escape sequence?

1291


Do character constants represent numerical values?

1308


Explain goto?

1122


Explain what is a program flowchart and explain how does it help in writing a program?

1075


What are the advantages of c language?

1068