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 / kirthi s

x=2.y=4

Is This Answer Correct ?    2 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is structure and union in c?

1206


Explain what are global variables and explain how do you declare them?

1235


What is wrong with this program statement?

1088


Does c have circular shift operators?

1299


How can a process change an environment variable in its caller?

1236


Suggesting that there can be 62 seconds in a minute?

1104


What is 'bus error'?

1208


Can we declare variables anywhere in c?

1055


What is a program flowchart?

1284


What is #ifdef ? What is its application?

1165


How macro execution is faster than function ?

1248


How can you read a directory in a C program?

1186


What is the role of this pointer?

1129


What does dm mean sexually?

1386


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1573