#include <stdio.h>
int main()
{
char character = 'A';
char string[] = "This is a string";
constchar *stringPtr = "This is also a string";
printf( "%c\n", character );
printf( "%s\n", "This is a string" );
printf( "%s\n", string );
printf( "%s\n", stringPtr );
return 0;
}
A
This is a string
This is a string
This is also a string