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

The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2938


How will you find a duplicate number in a array without negating the nos ?

1649


What is a union?

611


Lists the benefits of c programming language?

599


What is void main ()?

614






What is calloc() function?

626


What is the difference between int main and void main in c?

594


Place the #include statement must be written in the program?

574


What is a program flowchart and how does it help in writing a program?

666


diff between exptected result and requirement?

1596


What is void pointers in c?

591


What is the value of c?

575


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

1907


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

638


What is size of union in c?

582