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

1093


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1096


What is the difference between ++a and a++?

1205


What does the function toupper() do?

1123


How a string is stored in c?

1067


Explain what is the difference between a string and an array?

1166


Explain what is the general form of a c program?

1090


What is strcpy() function?

1140


What are void pointers in c?

995


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2325


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2331


Is return a keyword in c?

1075


What is pass by value in c?

1067


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2251


What are the types of data types and explain?

1088