Microprocessors

Q1: Consider the following in C
  1. An arithmetic operation between integer and an integer gives integer as the result.
  2. An arithmetic operation between a real and a real constant gives real constant as the result.
  3. An arithmetic operation between an integer constant and a real constant is not valid.
Which of the above are correct?

A All

B 1 and 2 only

C 2 and 3 only

D 1 and 3 only

ANS:B - 1 and 2 only

Mixed mode statement is allowed in C.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.