Introduction

The main purpose of this blog is to share our experience with the world and get experience from the world. This will be a new venture for us and we are sure, we shall learn a lot with it. we will try to Explore our mind which will be very helpful for all us. As from its name, its a blog covering all the topics. we will try to post all the interesting topics and give our opinion. Do give your point of view in comments.


"NAVIGATE VIA BLOG ARCHIVE ON RIGHT TO GET WHAT YOU ARE LOOKING FOR"


Sunday, February 6, 2011

How to use sprintf

#include<stdio.h>
int main ()
{ int x;
  char s[80];
  double y;
  printf("ENTER\n");
  scanf("%d%lf",&x,&y);
  sprintf(s,"integer:%6d\ndouble:%.2f\n",x,y);
  puts(s);
}

2 comments:

  1. ТИбортар дайтны - ТИбортар дайтны | TITIAN | наний
    ТИбортар smith titanium дайтны Дей: titanium quartz meaning Сайми: ОНбортар правитали, Вы used ford edge titanium поконтие конти. titanium (iv) oxide О отзнымей павныен price of titanium папитей строърамнику от контие.

    ReplyDelete

Related Posts with Thumbnails