main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / vyasaraj.s
The output is 3
Is This Answer Correct ? | 21 Yes | 7 No |
Post New Answer View All Answers
What is the condition that is applied with ?: Operator?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
How can I read in an object file and jump to locations in it?
What is the difference between memcpy and memmove?
What is difference between far and near pointers?
Explain how can you be sure that a program follows the ansi c standard?
What is derived datatype in c?
given post order,in order construct the corresponding binary tree
What is static and auto variables in c?
Difference between MAC vs. IP Addressing
How will you find a duplicate number in a array without negating the nos ?
What are bitwise shift operators in c programming?
What is the most efficient way to store flag values?
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is difference between array and pointer in c?