Question: What is the output after executing the following code? int main ( ) { ) = ( 1 0 if ) = ( 1 0
What is the output after executing the following code?
int main
if
cout A is equal to endl; else
cout A is not equal endl;
return ;
is equal to
Code will not run because we need around if block and else block.
Code will not run because there is an error in the comparison expression.
is not equal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
