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
Write a program to print factorial of given number using recursion?
Explain how can I make sure that my program is the only one accessing a file?
How can I handle floating-point exceptions gracefully?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What does *p++ do?
How can I make it pause before closing the program output window?
What are the advantages and disadvantages of pointers?
Discuss the function of conditional operator, size of operator and comma operator with examples.
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is structure data type in c?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Write a program to check armstrong number in c?
What is static identifier?
What is the code in while loop that returns the output of given code?
Why string is used in c?