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
How to create struct variables?
What is ctrl c called?
What type is sizeof?
Why is c known as a mother language?
What are the benefits of organizational structure?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What is this pointer in c plus plus?
Why is this loop always executing once?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
Explain what is the benefit of using an enum rather than a #define constant?
can we have joblib in a proc ?
What is #pragma statements?
Explain what are the standard predefined macros?
What are pointers?
What is main return c?