main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / raju
correct answer is 2 bcz once assign only that will take as
that value
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
The statement, int(*x[]) () what does in indicate?
write a program to copy the string using switch case?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is difference between structure and union with example?
why wipro wase
What does sizeof function do?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Why is extern used in c?
Write a program which returns the first non repetitive character in the string?
#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 break statement?
What is a wrapper function in c?
what is the difference between 123 and 0123 in c?
Write program to remove duplicate in an array?
What is the deal on sprintf_s return value?