fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main() {
  5. char i = 0, block[3]={1,2,3};
  6. while(i < sizeof(block))
  7. printf("%d", block[i++]);
  8. /* You can also access the elements like so: *( block + ( i++ ) )
  9. * It's completely equivalent to writing block[i++].
  10. */
  11. return 0;
  12. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
123