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 all different types of pointers in c?
How can a process change an environment variable in its caller?
What is the use of getch ()?
What is new line escape sequence?
What is the use of a conditional inclusion statement in C?
Explain what is the difference between a free-standing and a hosted environment?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is C language ?
Explain what is dynamic data structure?
Which function in C can be used to append a string to another string?
Is array name a pointer?
Which type of language is c?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
What are compound statements?
What are the types of operators in c?