| Question |
main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
} |
|
Question Submitted By :: Sid08 | |
I also faced this Question!! |
Rank |
Answer Posted By | | |
Answer | 3 is the answer bcoz
i=1
num[i]=i++;
num[1]=2;
here i=2
printf("%d", num[2]);
here 3 is there at position 2 .
so answer is 3  |
| Pragathi | | | | View All Answers | | |
|