main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / vijay
expression likes
num[i]=i++;
are always compiler dependent.
it is a bad programing to use such expression.
| Is This Answer Correct ? | 9 Yes | 7 No |
Post New Answer View All Answers
What are the types of arrays in c?
Who invented bcpl language?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
How to throw some light on the b tree?
Why doesnt this code work?
Why enum is used in c?
What is a const pointer?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
If null and 0 are equivalent as null pointer constants, which should I use?
What is c system32 taskhostw exe?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
why wipro wase
How do you list a file’s date and time?
Explain what does a function declared as pascal do differently?
What is a scope resolution operator in c?