String In C
There are 2 ways to declare a string in c
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {
char myString[] = "hello world\0";
printf("%s\n", myString);
char* myString2 = "hello world";
printf("%s\n", myString2);
}
hello world
hello world