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

number of times a digit is present in a number

1989


What is #include stdio h and #include conio h?

1043


how to construct a simulator keeping the logical boolean gates in c

2203


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

964


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2564


List the difference between a "copy constructor" and a "assignment operator"?

960


Is there anything like an ifdef for typedefs?

1101


What is FIFO?

1547


Write a program to find factorial of a number using recursive function.

1069


What is the difference between exit() and _exit() function in c?

1021


What is scope and lifetime of a variable in c?

992


What is function definition in c?

1024


can we change the default calling convention in c if yes than how.........?

2473


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

1057


What are the string functions? List some string functions available in c.

950