adplus-dvertising
frame-decoration

Question

Determine Output:
#define clrscr() 100
void main()
{
      clrscr();
      printf("%d", clrscr());
}

a.

0

b.

1

c.

100

d.

Error

Posted under C Programming

Answer: (c).100

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Determine Output:
Babu : June 26, 2023

Explanation of this code ?

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 !