Q:

What is the output?

0

What is the output?

int a==2;
int b=4;
int ans=a+b;
print(ans);

  1. 2
  2. 6
  3. error
  4. 0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

C.error

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now