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

What is the difference between near, far and huge pointers?

0 Answers  


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

0 Answers  


what do structure language means?

3 Answers   Microsoft,


#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }

1 Answers  


What is return in c programming?

0 Answers  






Can include files be nested?

0 Answers  


write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix

0 Answers  


write a program to copy a string without using a string?

2 Answers  


A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??

3 Answers   TCS,


What is the difference between #include <header file> and #include “header file”?

0 Answers  


Write a C program to find the smallest of three integers, without using any of the comparision operators.

7 Answers   TCS,


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

0 Answers  


Categories