#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 / sshireesha
12 6 11
| Is This Answer Correct ? | 30 Yes | 9 No |
Post New Answer View All Answers
What is clrscr ()?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Can math operations be performed on a void pointer?
in linking some of os executables are linking name some of them
What is the difference between far and near ?
What does nil mean in c?
Explain about the functions strcat() and strcmp()?
Is array name a pointer?
Is c is a procedural language?
What is a keyword?
How can I read and write comma-delimited text?
Apart from dennis ritchie who the other person who contributed in design of c language.
Explain the difference between call by value and call by reference in c language?