main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}

what will be the output?
}

Answer Posted / raj

3 is correct answer

Is This Answer Correct ?    24 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are global variables and explain how do you declare them?

633


Which is more efficient, a switch statement or an if else chain?

570


What are the preprocessor categories?

627


Linked lists -- can you tell me how to check whether a linked list is circular?

633


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

708






what is the difference between 123 and 0123 in c?

710


Explain how do you view the path?

644


Explain what is the difference between null and nul?

646


Do variables need to be initialized?

616


code for find determinent of amatrix

1506


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

634


What is the difference between c and python?

573


How can I make sure that my program is the only one accessing a file?

665


What kind of structure is a house?

546


Explain enumerated types in c language?

598