ShriRam Changed status to publish July 16, 2022
#include<stdio.h> #include<string.h> int main() { int i = 1, *ip = &i; char *sports[] = { "golf", "hockey", "football", "cricket", "shooting" }; for(i = 0; i < 5; i++) { printf("String = %10s", sports[i] ); printf("\tAddress of string literal = %u\n", sports[i]); } // signal to operating system program ran fine return 0; }
ShriRam Changed status to publish July 16, 2022