Question: c++ What is an empty statement (or, null statement)? Does the following code segment contain a syntax error? If not, whats the effect? int a;
c++ What is an empty statement (or, null statement)? Does the following code segment contain a syntax error? If not, whats the effect?
inta;
cin>>a;
if(a
else
coutisnotnegative ;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
