What will be the output of following program?
1 | int main()
2) {
3
int i;
4) int arr[5] = {1};
5.
for (i = 0; i < 5; i++)
6.
printf("%d", arr[i]);
7 return 0;
8 ]
Answers
Answered by
0
Step-by-step explanation:
include <stdio.h>
int main()
{
int arr[5];
// Assume that base address of arr is 2000 and size of integer
// is 32 bit
arr++;
printf("%u", arr);
return 0;
}
Similar questions