Posted by : Unknown Wednesday, February 3, 2016

      *
     **
    ***
   ****
  *****
 ******
*******
Ans:
#include<stdio.h> 
int main(){
    char *ptr="*******";
    int i,j;
    
    for(i=0;i<8;i++){
       printf("%*.*s\n",8,i,ptr);
    }
    return 0;
}


 **********OUTPUT**********
      *
     **
    ***
   ****
  *****
 ******
*******
  *************************

Leave a Reply

Thanks for your comment

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Popular Post

Blogger templates

Powered by Blogger.

Author Info

Blogroll

Blogroll

Slider[Style1]

Image Documents

View more

Popular Posts

Total Pageviews

Blog Archive

Blog Archive

Komentar

Artikel Terbaru

About me

Facebook

Advertise

Recent Posts

Search This Blog

Recent Posts

Sponsor

Video Of Day

Text Widget

Sample Text

Contact Us

Name

Email *

Message *

Followers

Labels

Site Links

Join the Team

Social Icons

Find Us On Facebook

Flickr Images

Social Media

Pages

Join with us

Popular Posts

Legal Documents

View more

Popular Posts

Getting Started

View more

- Copyright © SmileBD -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -