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
What is the importance of c in your views?
What is the difference between a function and a method in c?
What is ## preprocessor operator in c?
Why is structure padding done in c?
What is the g value paradox?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What is new line escape sequence?
What is c method?
What is typeof in c?
Difference between Function to pointer and pointer to function
Difference between macros and inline functions? Can a function be forced as inline?
Explain the bubble sort algorithm.
What is the difference between a free-standing and a hosted environment?
What are the storage classes in C?
what is the structure pointer?