Albin Jose to [email protected] • 2 years agoWhat will happen if we put a semi-colon after a for loop in C++?message-square14fedilinkarrow-up118
arrow-up118message-squareWhat will happen if we put a semi-colon after a for loop in C++?Albin Jose to [email protected] • 2 years agomessage-square14fedilink
minus-square@[email protected]linkfedilink18•2 years agoMy programs cause enough tears on their own without having to put them in the code itself.
Pro tip:
for(;;)
takes less to type thannwhile(true)
#define EVER (;;)
My programs cause enough tears on their own without having to put them in the code itself.