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

A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1696


What is a file descriptor in c?

1082


What are the valid places to have keyword “break”?

1064


What is function prototype in c with example?

1032


Write a program to implement queue.

1090


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1181


Is exit(status) truly equivalent to returning the same status from main?

1031


write a program to display all prime numbers

1936


What are the advantages and disadvantages of c language?

985


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2429


Why can’t we compare structures?

1249


What is the data segment that is followed by c?

1053


What is a struct c#?

1023


What are header files in c programming?

1101


Write a program to show the change in position of a cursor using c

1021