C++ Syntax Question:
Download Job Interview Questions and Answers PDF
What is Else If Syntax?
Answer:
if ( <condition> ) {
// Execute these statements if <condition> is TRUE
}
else if ( <another condition=""> ) {
// Execute these statements if <another condition=""> is TRUE and
// <condition> is FALSE
}</condition></another></another></condition></condition>
// Execute these statements if <condition> is TRUE
}
else if ( <another condition=""> ) {
// Execute these statements if <another condition=""> is TRUE and
// <condition> is FALSE
}</condition></another></another></condition></condition>
Download Basic C++ Syntax Interview Questions And Answers
PDF
Previous Question | Next Question |
What is Else Syntax in C++? | What is conditions when using boolean operators? |