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

What does c mean in basketball?

938


Explain how do you determine a file’s attributes?

998


Why do some versions of toupper act strangely if given an upper-case letter?

1033


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1045


Write a program to print all permutations of a given string.

1125


How are strings stored in c?

970


What is main () in c?

1007


How does normalization of huge pointer works?

1098


Tell me with an example the self-referential structure?

939


What is a ternary operator in c?

1054


What is the use of sizeof () in c?

988


What is self-referential structure in c programming?

1140


What is the ANSI C Standard?

1208


Which is an example of a structural homology?

1239


What is the purpose of void pointer?

984