what will be the output of this program?
void main()
{
int a[]={5,10,15};
int i=0,num;
num=a[++i] + ++i +(++i);
printf("%d",num);
}

Answer Posted / girish

15

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain low-order bytes.

689


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

690


Difference between pass by reference and pass by value?

717


What would be an example of a structure analogous to structure c?

642


Why we write conio h in c?

631






What is #include stdio h and #include conio h?

661


What is a class c rental property?

707


Is fortran still used today?

676


How will you delete a node in DLL?

739


What is scope of variable in c?

625


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

679


How can you return multiple values from a function?

698


What is the use of a ‘’ character?

662


Explain 'bus error'?

638


What is an arrays?

715