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
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Not all reserved words are written in lowercase. TRUE or FALSE?
Explain what is the benefit of using an enum rather than a #define constant?
Tell me is null always defined as 0(zero)?
What are the back slash character constants or escape sequence charactersavailable in c?
What is #line?
Can stdout be forced to print somewhere other than the screen?
Why do we need a structure?
What are reserved words with a programming language?
Distinguish between actual and formal arguments.
What should malloc(0) do?
please explain every phase in the "SDLC" in the dotnet.
Explain the use of bit fieild.
How do I read the arrow keys? What about function keys?
ATM machine and railway reservation class/object diagram