#include "stdio.h"
int main ()
{
char * hello = {"Hello World! How are you doing?"};
int len = 12;
printf("%.*s\n", len, hello);
return 0;
}
Here is the output of this function:
Hello World!
Hello Coding is collection of small steps in different direction. I'll try to make sure that these steps are not larger the "Hello World" :)
#include "stdio.h"
int main ()
{
char * hello = {"Hello World! How are you doing?"};
int len = 12;
printf("%.*s\n", len, hello);
return 0;
}
Hello World!