C++ - Sample Interview Question (Junior Level)

What is true regarding the following code snippet? 

if (ComplicatedFunctionCall() || AnotherComplicatedFunctionCall())
{
    // do stuff
}

Assume that the operator || is not overloaded
  1. The function AnotherComplicatedFunctionCall() will be executed even if the function ComplicatedFunctionCall() will return true
  2. The function AnotherComplicatedFunctionCall() will be executed only if the function ComplicatedFunctionCall() will return false
  3. The function ComplicatedFunctionCall() will be executed only if the function AnotherComplicatedFunctionCall() will return true
  4. None of the above
Tests in C++ for Juniors

Test Name Difficulty Time (minutes) No. of Questions
C++ Online Test for Juniors C++ Junior 60 30

More Specific Tests in C++ for Juniors

Test Name Difficulty Time (Minutes) No. of Questions
C++-Basics Online Test for Juniors C++ - Basics Junior 20 10
C++-Compound-Data-Types Online Test for Juniors C++ - Compound Data Types Junior 20 10
C++-Algorithms Online Test for Juniors C++ - Algorithms Junior 20 10
C++-STL Online Test for Juniors C++ - STL Junior 20 10
C++-Object-Oriented-Programming Online Test for Juniors C++ - Object Oriented Programming Junior 20 10