void main()
{
int i=5;
printf("%d",i+++++i);
}

Answer Posted / mukul garg

i=5;
i++ + ++i;
5+7=12
ans:12

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of using macro in c language?

584


Explain the bubble sort algorithm.

650


Is anything faster than c?

589


What is context in c?

543


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

606






what is the function of pragma directive in c?

632


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1511


Are negative numbers true in c?

604


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

671


What are the types of unary operators?

666


What do you mean by scope of a variable in c?

547


Can you write the algorithm for Queue?

1558


What is pointer to pointer in c?

636


Why are all header files not declared in every c program?

603


What is variable in c example?

597