int i=0,j;

j=++i + ++i ++i;

printf("
%d",j);

Answers were Sorted based on User's Feedback



int i=0,j; j=++i + ++i ++i; printf(" %d",j);..

Answer / padma seenivasan

invalid value in increament

Is This Answer Correct ?    11 Yes 2 No

int i=0,j; j=++i + ++i ++i; printf(" %d",j);..

Answer / shankar

1+3+5=9

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More C Interview Questions

void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?

8 Answers   Wipro,


to find the program of matrix multiplication using arrays

6 Answers   Bhel,


How can I pad a string to a known length?

0 Answers  


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

0 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  






What is atoi and atof in c?

0 Answers  


How can you draw circles in C?

0 Answers   Accenture,


write a code for large nos multilication (upto 200 digits)

2 Answers   Persistent,


a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..

1 Answers  


What is Generic pointer? What is the purpose of Generic pointer? Where it is used?

3 Answers  


What is volatile

2 Answers  


Write a program that his output * *** *****

1 Answers  


Categories