Join Examsbook
What would be the output of the following program?
main()
{
static int a[20];
int i = 0;
a[i] = i++;
printf ("\n%d%d%d", a[0], a[1], i);
}5
Q: What would be the output of the following program? main() { static int a[20]; int i = 0; a[i] = i++; printf ("\n%d%d%d", a[0], a[1], i); }
- Show AnswerHide Answer
- Workspace