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 process to create increment and decrement stamen in c?
How do you redirect a standard stream?
What is the use of header files?
Can 'this' pointer by used in the constructor?
writ a program to compare using strcmp VIVA and viva with its output.
Explain low-order bytes.
What is the advantage of c?
Describe newline escape sequence with a sample program?
What is break statement?
What does. int *x[](); means ?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What does do in c?
Why does not c have an exponentiation operator?
How many types of arrays are there in c?
What are control structures? What are the different types?