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
1111 5b5cc7dde4d2b419777515f2
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 Answer
- Workspace
- Discuss