Posts by user166893 • 11 points
1 post
-
1
votes2
answers322
viewsQ: What does a semicolon mean after an "if"?
I was analyzing a code and came across a semicolon after a if, which means using the semicolon after a if? code: int base_calc(int cb) { if( cb < 30 ) { ; } else if( cb < 20 ) { cb = 30 - 1; }…