0
What is the output of this C code?
I dont understand the output someone please explain. int arr[4] = {1, 2, 3, 4}; printf("%d", *arr);
1 ответ
+ 5
*arr it simply pointing to first index of array
It will be like this
*(arr+0) which pointing 0th position. So Output of your code will be 1
If u will write like this
*(arr+3) then in this case
Answer will be 4