Alex
0
Q:

sprintf C

#include <stdio.h>
#include <math.h>

int main () {
   char str[80];

   sprintf(str, "Value of Pi = %f", M_PI);
   puts(str);
   
   return(0);
}
0
int sprintf(char *str, const char *format, ...)
0

New to Communities?

Join the community