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 is wrong in this statement?

634


What is a spanning Tree?

954


Why we use void main in c?

597


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1599


Why do we use header files in c?

581






What are the storage classes in C?

625


What is 02d in c?

637


Write a program to know whether the input number is an armstrong number.

673


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2303


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1432


What are the restrictions of a modulus operator?

638


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

557


How can you find the exact size of a data type in c?

601


explain what are actual arguments?

635


How can I find out how much free space is available on disk?

629