C++ Syntax Question:
Download Job Interview Questions and Answers PDF
What is Else Syntax in C++?
Answer:
It can look like this:
if ( TRUE ) {
// Execute these statements if TRUE
}
else {
// Execute these statements if FALSE
}
if ( TRUE ) {
// Execute these statements if TRUE
}
else {
// Execute these statements if FALSE
}
Download Basic C++ Syntax Interview Questions And Answers
PDF
Previous Question | Next Question |
What is basic if statement syntax? | What is Else If Syntax? |