What does ; random string ; represent in C -
this question has answer here:
semicolon stands termination of statement in c, allows code
; " int random string " ; to compile without warnings , causes trouble in
; int random string ; which rules involved here ?
the 2 semicolons ;; represent empty statement.
this construction
; " int random string " ; represents expression statement has no effect.
this construction is
; int random string ; is invalid.
as for-statement construction this
for( ;; ) { /*...*/ } means 3 expressions omitted , condition implied equal true. infinite loop can interrupted using jump statement in body (statement).
Comments
Post a Comment