What is the output of the following C code?
#include
int main(void)
{
int a[]={10,20,30,40};
printf("%d",a[5-3+6/3-1]);
return 0;
}1
Starting address of a
2
Garbage value
3
30
4
40
What is the output of the following C code?
#include
int main(void)
{
int a[]={10,20,30,40};
printf("%d",a[5-3+6/3-1]);
return 0;
}