printf for char pointer code example
Example: c printing char pointer
#include <stdio.h>
int main()
{
char * str = "Hello";
printf("%s\n", str);
return 0;
}
#include <stdio.h>
int main()
{
char * str = "Hello";
printf("%s\n", str);
return 0;
}