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...

main() {
int x=2, y=4
if ((x==2||y==4)
x++
y++
if (y==4+1)
{
x=x+y;
}
y++;
printf("The values of x and y are %d and %d."x,y);
}
What is the output?


Answer Posted / pandu

x=8,y=6

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Did c have any year 2000 problems?

1156


Explain 'bus error'?

1164


Is null always defined as 0(zero)?

1177


What is the meaning of && in c?

1085


Is it cc or c in a letter?

1078


What is c preprocessor mean?

1373


Tell us two differences between new () and malloc ()?

1275


explain what is fifo?

1132


What are logical errors and how does it differ from syntax errors?

1349


What do you mean by dynamic memory allocation in c? What functions are used?

1227


Explain the properties of union. What is the size of a union variable

1248


Why is sizeof () an operator and not a function?

1090


When can you use a pointer with a function?

1152


What are the similarities between c and c++?

1140


What are the advantages of using Unions?

1171