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 / sunil v r

11,6,11

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the properties of union.

1138


What is a structural principle?

1246


How to write c functions that modify head pointer of a linked list?

1039


What are the advantages of using macro in c language?

1195


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1121


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

1329


When should you use a type cast?

1192


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1159


Differentiate fundamental data types and derived data types in C.

1092


What is the difference between malloc() and calloc()?

1991


Can you apply link and association interchangeably?

1179


What is pragma in c?

1287


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1185


What is a global variable in c?

1083


Explain how can you determine the size of an allocated portion of memory?

1153