when is a null or empty statement required in c++
Answers
Answered by
1
The probable uses are:
1- At the end of a loop, where the operations are already encoded within the loop statements. e.g. "while(a[i--]);"
2- At the end of a label, where no operation is needed to be done. e.g. "Label: ;"
1- At the end of a loop, where the operations are already encoded within the loop statements. e.g. "while(a[i--]);"
2- At the end of a label, where no operation is needed to be done. e.g. "Label: ;"
Similar questions