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 / gerda

15

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bubble sort technique in c?

579


Is fortran still used today?

593


What are the types of pointers in c?

524


What are variables c?

606


What is array in c with example?

607






How can I prevent another program from modifying part of a file that I am modifying?

604


What happens if header file is included twice?

644


What are linker error?

606


What does the c in ctime mean?

557


Is fortran still used in 2018?

583


What is nested structure in c?

600


Write programs for String Reversal & Palindrome check

592


What is printf () in c?

574


Can the “if” function be used in comparing strings?

579


What is the meaning of c in c language?

587