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

How can variables be characterized?

2183


Why is c not oop?

976


Simplify the program segment if X = B then C ← true else C ← false

3001


What are the features of the c language?

1081


What is the purpose of the statement: strcat (S2, S1)?

1163


Explain how do you declare an array that will hold more than 64kb of data?

1446


Are the expressions * ptr ++ and ++ * ptr same?

1145


What is the correct declaration of main?

1206


If you know then define #pragma?

1101


How are Structure passing and returning implemented by the complier?

1159


What are unions in c?

1028


What is enumerated data type in c?

1073


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

1068


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1948


Why is c still so popular?

1040