how to print a char pointer in c 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;
}