GeeksforGeeks » C/C++ Programming Questions

Output of C program?

(1 post)
  • Started 1 year ago by tvlblidt

Tags:

  1. kamal
    guest
    Posted 1 year ago #

    #include<stdio.h>
    int main(void)
    {
     int i;
     for(i = 0; i < 5; i++)
        printf("\n%*c", i, '*');
     getchar();
     return 0;
    }
    

Reply

You must log in to post.

RSS feed for this topic