What is the output of this C code ? | Recursion Program in C | Recursion in C

Answer : D. This code will generate an error.

What is the output of this C code ?

Function main() {
  Integer i = 0.7 Static float m = 0.7
  If(m equals i)
  Print(“We are equal”)
  Else
  If(m > i)
  Print(“I am greater”)
  Else
  Print(“I am lesser”)
}

A. We are equal.

B. I am greater.

C. I am lesser.

D. This code will generate an error.

Answer : D. This code will generate an error.

Explanation:

Leave a Reply

Your email address will not be published.