main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / raj
3 is correct answer
| Is This Answer Correct ? | 24 Yes | 7 No |
Post New Answer View All Answers
What does typeof return in c?
What is string constants?
Do you know pointer in c?
Why isnt any of this standardized in c?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What are integer variable, floating-point variable and character variable?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What is meant by realloc()?
What are the restrictions of a modulus operator?
What is 1f in c?
What is the use of void pointer and null pointer in c language?
Can i use “int” data type to store the value 32768? Why?
When should the register modifier be used? Does it really help?
swap 2 numbers without using third variable?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer