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


Please Help Members By Posting Answers For Below Questions

how to print the character with maximum occurence and print that number of occurence too in a string given ?

2028


Not all reserved words are written in lowercase. TRUE or FALSE?

717


Explain what is the benefit of using an enum rather than a #define constant?

709


Tell me is null always defined as 0(zero)?

664


What are the back slash character constants or escape sequence charactersavailable in c?

676






What is #line?

600


Can stdout be forced to print somewhere other than the screen?

611


Why do we need a structure?

579


What are reserved words with a programming language?

593


Distinguish between actual and formal arguments.

581


What should malloc(0) do?

608


please explain every phase in the "SDLC" in the dotnet.

2173


Explain the use of bit fieild.

702


How do I read the arrow keys? What about function keys?

606


ATM machine and railway reservation class/object diagram

4792