Select the correct output of the following code. #include <stdio.h> int main() { int arr[5]={10,20,30,40,50}; printf("%d", arr[5]); return 0; }
- Garbage value
- 20
- 30
- None of these
Answer not confirmed yet.
Source: FPSC CSS 2024 Computer Science Paper-1found on FPSC (official)
Explanation coming soon.
