fork(1) download
  1. #include<stdio.h>
  2.  
  3. int main(void) {
  4. for (int row = 0; row < 7; row++) {
  5. for (int column = 0; column < row; column++) {
  6. printf("*");
  7. }
  8. printf("\n");
  9. }
  10. printf("\n");
  11. }
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
*
**
***
****
*****
******