adplus-dvertising
frame-decoration

Question

Determine Output:
void main()
{
      int i=i++, j=j++, k=k++;
      printf("%d %d %d", i, j, k);
}

a.

1 1 1

b.

0 0 0

c.

garbage values

d.

Error

Posted under C Programming

Answer: (c).garbage values

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Determine Output:

Similar Questions

Discover Related MCQs

Q. Who is father of C Language?

Q. C Language developed at _________?

Q. For 16-bit compiler allowable range for integer constants is ________?

Q. C programs are converted into machine language with the help of

Q. C was primarily developed as

Q. Standard ANSI C recognizes ______ number of keywords?

Q. Which one of the following is not a reserved keyword for C?

Q. A C variable cannot start with

Q. Which one of the following is not a valid identifier?

Q. If integer needs two bytes of storage, then maximum value of an unsigned integer is

Q. What is the correct value to return to the operating system upon the successful completion of a program?

Q. Which is the only function all C programs must contain?

Q. Which of the following is not a correct variable type?

Q. Which of following is not a valid name for a C variable?

Q. If ASCII value of 'x' is 120, then what is the value of the H, if
H = ('x' – 'w' ) / 3;

Q. What is the difference between a declaration and a definition of a variable?

Q. "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above.

Q. Nesting of if-else statements is allowed in C Programming.

Q. A char variable storing either an ASCII character or a Unicode character is allowed inside switch case.

Q. We cannot use String in the Switch case as label !