What are typical uses of null statement
;
in C ?
I know that it is basically used to skip expression where it is expected
The only uses I can think of are:
1- At the end of a loop, where the operations are already encoded within the loop statements. e.g. while(a[i--]);
while(a[i--]);
2- At the end of a label, where no operation is needed to be done. e.g. Label: ;
Label: ;