

InterviewSolution
Saved Bookmarks
1. |
What does it mean by "if a=5" is there a user input? |
Answer» The answer of the question is that it MEANS as conditional statement.Explanation:"if a=5" is a conditional statement that EXECUTES only when compiler interpret this condition satisfied.If is conditional statement in programming language.In this given statement, condition is that the value of a is 5 where a is VARIABLE which already defined in the statement.This statement does not need any USER input as such it is already declared. User can not change the value of a without EXECUTING the statement.Example - If (a=5) { cout<< max; } else { cout<< min; } |
|