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 are the similarities between c and c++?

1068


Can math operations be performed on a void pointer?

1043


What are variables and it what way is it different from constants?

1242


Can we use any name in place of argv and argc as command line arguments?

1068


Explain the array representation of a binary tree in C.

1230


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1177


What is use of null pointer in c?

1009


What are pointers? What are different types of pointers?

1140


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

2077


What are pointers?

1108


What is difference between structure and union?

1128


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1376


Can i use “int” data type to store the value 32768? Why?

1187


will u please send me the placement papers to my mail???????????????????

1836


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1944