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 / amitesh

i=11 j=6 k=10

Is This Answer Correct ?    9 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a string and an array?

1259


How can I change the size of the dynamically allocated array?

1206


How do shell structures work?

1174


How can I handle floating-point exceptions gracefully?

1242


Explain how can I pad a string to a known length?

1249


What is hungarian notation? Is it worthwhile?

1272


Is a house a shell structure?

1214


When the macros gets expanded?

1486


What are the similarities between c and c++?

1140


please give me some tips for the placement in the TCS.

2155


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

1370


What is n in c?

1113


How do I convert a string to all upper or lower case?

1173


write a programming in c to find the sum of all elements in an array through function.

2221


What are register variables? What are the advantage of using register variables?

1234