Albin Jose@suppo.fi to Programming@programming.dev · 1 year agoWhat will happen if we put a semi-colon after a for loop in C++?message-squaremessage-square13fedilinkarrow-up118arrow-down15
arrow-up113arrow-down1message-squareWhat will happen if we put a semi-colon after a for loop in C++?Albin Jose@suppo.fi to Programming@programming.dev · 1 year agomessage-square13fedilink
minus-squarevext01@lemmy.sdf.orglinkfedilinkarrow-up6·1 year agoOnly if you malloc in the loop header buddy!
Only if you malloc in the loop header buddy!