main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / aniruddha
It will print answer 1 because in case of++ atfairt assing
and then increment..
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
Where are the auto variables stored?
What is clrscr in c?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Do you know the difference between malloc() and calloc() function?
Explain why c is faster than c++?
write a program fibonacci series and palindrome program in c
Is flag a keyword in c?
What is #define size in c?
What is const and volatile in c?
Without Computer networks, Computers will be half the use. Comment.
What is "Duff's Device"?
What is difference between structure and union?
Why do we use static in c?
What is adt in c programming?
What are the application of void data type in c?