In a situation where multiple if conditions are true, the _______ block will be executed in C++. 

  • first 
  • last 
  • second 
  • all
In C++, when multiple 'if' conditions are true, only the block corresponding to the first true condition will be executed. Subsequent true conditions are ignored.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *