| 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 | num[i] is num[1] and its reassigned as i++ that is 1 thus it
will print 1.
but im not at all sure about this..  |
| Mortal | | | | View All Answers | | |
|