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


void main()
{
int x=25,y=32;
clrscr();
x=x++ + y++;
y=++x + ++y;
printf("%d%d",x,y);
}

Answers were Sorted based on User's Feedback



void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y);..

Answer / myfriend_shankar

ans is 59 93
because
void main()
{
1.x=x++ + y++; 25+32 (bcoz of x=x++ so) 26+32=58
2.y=++x + ++y; 59+34=93(after this x=59)
(becoz of x=x++ the last value 59 be the x value)

Is This Answer Correct ?    13 Yes 1 No

void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y);..

Answer / pushpendra

if you put the values x=25 and y=32 so both values will be simply added because there will proceed clrscr() command .
so write answer is 57 ,61.

Is This Answer Correct ?    11 Yes 8 No

void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y);..

Answer / mounica

57 91

Is This Answer Correct ?    1 Yes 0 No

void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y);..

Answer / prasanna

57 61

Is This Answer Correct ?    9 Yes 12 No

void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y);..

Answer / surendra singh bisht

x=57
y=91

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More C Interview Questions

What ios diff. Between %e & %f?

3 Answers   Honeywell,


what is the use of pointers

6 Answers   Adobe, GrapeCity,


Why main is used in c?

0 Answers  


Why is c called a mid-level programming language?

0 Answers  


How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?

2 Answers  


Explain how do you print only part of a string?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain

2 Answers  


Explain void pointer?

0 Answers  


program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,


1 What is a Data Structure?

1 Answers  


Explain the red-black trees?

0 Answers  


write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?

2 Answers   Zensar,


Categories