Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 3 (Q.No. 38)
38.
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?
All
1 and 2 only
2 and 3 only
1 and 3 only
Answer: Option
Explanation:

Mixed mode statement is allowed in C.

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.