Computer Science, asked by varalakshminarayanas, 4 months ago

1. What will be the output of the code?
int a=5;
if(a>5)
cout<<”Greater”;
else
cout<<”Smaller”

(a) Greater (b) Smaller (c) Error (d) None of these

Answers

Answered by trociaawar987654321
0

Answer:

Error

Explanation:

Error in the output because a=5 and 5>5 is not possible so computer give error

Similar questions