Computer Science, asked by gokujane, 1 year ago

when is a null or empty statement required in c++

Answers

Answered by RishabhSood
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: ;"
Similar questions