Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#include <stdio.h>
#include <string.h>
int main (void)
{
char ch = 'A'; // single character.
char arr[10]; // array of characters.
char *ptr; // pointer to character/array.
strcpy(arr, "Hello!");
printf(" ch=%c \n arr=%s \n", ch, arr);
ptr = arr; // Pointer to string.
printf(" ptr=%s", ptr);
ptr = (char *)ch; // Pointer to a char.
printf(" ptr=%c\n", ptr);
ptr = arr; // Shows how to manipulate chars in
*(ptr+1) = ch; // an array(string).
printf(" ptr=%s", ptr);
return 0;
}