Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
What will be the output of the program?
#include<stdio.h>
int main()
{
static int a[20];
int i = 0;
a[i] = i ;
printf("%d, %d, %d ", a[0], a[1], i);
return 0;
}
1.
1, 0, 1
2.
1, 1, 1
3.
0, 0, 0
4.
0, 1, 0