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 strcpy() function?

1163


How many levels of indirection in pointers can you have in a single declaration?

1092


By using C language input a date into it and if it is right?

1086


In C programming, what command or code can be used to determine if a number of odd or even?

1059


what is a function method?give example?

2369


Why is extern used in c?

1093


What are the differences between new and malloc in C?

1150


Write a program for Overriding.

1160


What are runtime error?

1135


How can I handle floating-point exceptions gracefully?

1178


Why can't I perform arithmetic on a void* pointer?

1100


What is structure padding and packing in c?

1073


Can a function argument have default value?

1154


Explain which function in c can be used to append a string to another string?

1092


How do I swap bytes?

1076