Sep 15, 2024
char ch[5] = {'H', 'E', 'L', 'L', 'O'}; . This signifies the end of the string.char str[] = "HELLO"; includes an implicit null character, making its size 6.printf("%s", p); where p is the pointer.int a = 5;
int *x = &a; // x is an alias for a
a and x refer to the same memory location, and changes to one will reflect in the other.