Question: Hi, i need discussion for this code please. no hand writing. Lab9 code: //Program 12.3 #include #include int main() { char a[11] = Boring; printf
Hi, i need discussion for this code please.
no hand writing.
Lab9 code:
//Program 12.3
#include
#include
int main()
{
char a[11] = "Boring";
printf ("Index 0 has %c ", a[0]);
printf ("Index 1 has %c ", a[1]);
printf ("Index 2 has %c ", a[2]);
printf ("Index 3 has %c ", a[3]);
printf ("Index 4 has %c ", a[4]);
printf ("Index 5 has %c ", a[5]);
printf ("Index 6 has %c ", a[6]);
printf ("Index 7 has %c ", a[7]);
printf ("Numerically, the a[6] is %c ",a[6]);
getch();
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
