What is the output of following C Program?
#include <stdio.h>
int main()
{
char grade[] = {'A','B','C'};
printf("GRADE=%c, ", *grade);
printf("GRADE=%d", grade);
return 0;
}
🎥 Video solution / Text Solution of this question is given below:
*grade = 'A', grade = base address of array
Output: GRADE=A, GRADE=some address of array