main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lukz
4 is output
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is null pointer in c?
What is the benefit of using an enum rather than a #define constant?
What are local static variables?
What is an array in c?
What is data structure in c language?
Tell me can the size of an array be declared at runtime?
Why we use int main and void main?
What does the file stdio.h contain?
Why do we use null pointer?
What does %d do?
Why doesnt the call scanf work?
Explain what is the difference between the expression '++a' and 'a++'?
What is wild pointer in c?
What is hash table in c?
When do we get logical errors?