Hello everybody,so my question is i want to print characters,no string just an array of characters,i do this but it s not working,maybe i have to put the '\0' at the end?
Code:int main() { int i; char ch[5]; for(i = 0; i < 5; i++) { scanf("%c",&ch[i]); } for(i = 0; i < 5; i++) { printf("%c\n",ch[i]); } }