main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / lukz
4 is output
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is c system32 taskhostw exe?
What is the purpose of void in c?
What is the advantage of an array over individual variables?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is gets() function?
Can you write a programmer for FACTORIAL using recursion?
How are pointers declared in c?
Are c and c++ the same?
What is this infamous null pointer, anyway?
Explain what is the concatenation operator?
Here is a good puzzle: how do you write a program which produces its own source code as output?
can we implement multi-threads in c.
What is the use of ?
Why is c not oop?
Can include files be nested? How many levels deep can include files be nested?