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 keyword in c?
How pointers are declared?
Is null always equal to 0(zero)?
How can I write a function analogous to scanf?
Explain 'bit masking'?
Why & is used in c?
What is use of bit field?
List some basic data types in c?
What is new line escape sequence?
Was 2000 a leap year?
Explain how do you use a pointer to a function?
Can you assign a different address to an array tag?
What are integer variable, floating-point variable and character variable?
Where in memory are my variables stored?
What is the difference between malloc() and calloc() function in c language?