How can I print an array of strings that point to integers in C?
For example, I want to print the names of the following array.
const int names[] {
John,
Jane,
Susan
};
Ive had no success with:
for(int i = 0; i < 3; i++){
printf("The names in question is %d", names[i]);}
Update: The array of names must be type integers that point to an age elsewhere. The expected result is to print the names in the array not the age.