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

#define MAX(x,y) (x) > (y) ? (x) : (y)
main()
{
int i = 10, j = 5, k = 0;
k = MAX(i++, ++j);
printf("%d %d %d", i,j,k);
}

what will the values of i , j and k?
}

Answer Posted / sumi

11 , 6, 10

Is This Answer Correct ?    54 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I do peek and poke in c?

1054


Why does everyone say not to use scanf? What should I use instead?

1395


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

1034


How can I avoid the abort, retry, fail messages?

1108


What is the size of enum in bytes?

1054


Can the size of an array be declared at runtime?

1050


Explain how does flowchart help in writing a program?

1085


What is use of null pointer in c?

987


List some of the dynamic data structures in C?

1217


What is the difference between pure virtual function and virtual function?

1093


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1246


Write a program to generate random numbers in c?

1069


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

1032


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1360


I heard that you have to include stdio.h before calling printf. Why?

1031