Question: Question 9 1 p t s 1 if ( relative ) 2 if ( my _ friend ) 3 cout both; 4 else 5 cout
Question
if relative
if myfriend
cout "both";
else
cout "neither";
The above, is an example of a common semantic error known as the
bothneither problem
ambiguous else conundrum
elseif dilemma
dangling else ambiguity
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
