In this tutorial we will see Simple Array Character in C Language.
#include<stdio.h> void main() { char name[10] = {'D','I','P','U'}; int i = 0; printf("Character Memory Location\n"); while(name[i]!='\0') { printf("\n[%c]\t[%u]",name[i],&name[i]); i++; } }
Read Also :-
C Structure with Array and Loop Program