Defination:-
The C++ if-else statement also tests the condition. It executes if block if condition is true otherwise else block is executed.
Syntax:-
------------ if(condition){
//code if condition is true
}else{
//code if condition is false
}
Please Like Our Videos Press Subscribe and hit Bell 🔔 Icon for All Videos.
#shorts
#ifelsestatement
#youtubevideo
#learnprogramming
#cppprogramminglanguage