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

what will be the output?
}

Answer Posted / vinay

Idiots please don't give wrong answers. While you answer
the questions, please check the output practically and post

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Spanning-Tree Protocol (STP)

644


What does %2f mean in c?

675


How is a pointer variable declared?

594


What is the purpose of realloc()?

672


Explain what is the benefit of using #define to declare a constant?

610






Can we change the value of constant variable in c?

577


What is the use of a semicolon (;) at the end of every program statement?

774


How many types of errors are there in c language? Explain

573


What are the primitive data types in c?

579


What are near, far and huge pointers?

648


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

645


What is the purpose of ftell?

601


What is a good way to implement complex numbers in c?

596


What is a wrapper function in c?

590


What is non linear data structure in c?

577