main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lucky
out put is 3 and it is correct
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
Why is c known as a mother language?
What is the use of bit field?
What are the types of pointers in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is size of union in c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What are different types of operators?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Define macros.
how do you programme Carrier Sense Multiple Access
What is this infamous null pointer, anyway?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is array within structure?
What is huge pointer in c?
Why C language is a procedural language?