main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lucky
out put is 3 and it is correct
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What is difference between structure and union?
Explain what is operator promotion?
What is d scanf?
What is the difference between near, far and huge pointers?
What is the difference between memcpy and memmove?
Why is c so important?
What is the difference between class and object in c?
Explain how are portions of a program disabled in demo versions?
What is meant by initialization and how we initialize a variable?
What is the difference between procedural and declarative language?
What are multibyte characters?
Why structure is used in c?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Is c is a middle level language?
What is fflush() function?