2.main
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);




Answers were Sorted based on User's Feedback



Answer / manoj kumar

36

Is This Answer Correct ?    43 Yes 1 No

Answer / kumaran

36

Is This Answer Correct ?    13 Yes 1 No

Answer / kadamab

36

Is This Answer Correct ?    11 Yes 1 No




Answer / vignesh1988i

x will be 36....

Is This Answer Correct ?    8 Yes 2 No

Answer / pallavi

pgm is wrong coz, main ws supposed to hav () and } is
missing at the end

Is This Answer Correct ?    6 Yes 3 No

Answer / snurfy

x=1;..khud se pata laga lo..par answer to yahi rahega...aur ye us wale logic se hoga...jo sir ne us samay padhaya tha...tab tum sab so rahe the,,...ab aur neend lo class m...tab bola tha uth jaao...tab to samjh aaya nhi...ab kya khak aayega....ab to khelo rummy...!!..ab to ek hi tarika h ans pata karne ka...snurf language padho..aur suno...ise majak mat samjhna..bhavishy ka sawal h...:P:P

Is This Answer Correct ?    4 Yes 4 No

Answer / e.manjuladevi

x=2

Is This Answer Correct ?    5 Yes 8 No

Answer / guest

x=1

Is This Answer Correct ?    11 Yes 16 No

Post New Answer



More C Interview Questions

How to implement a packet in C

0 Answers   Aricent,


what is the output of printf("%d",(scanf("%d",10));

10 Answers  


What is Heap?

3 Answers  


Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a));

6 Answers   TCS,


what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf("%d",i)-1; }

3 Answers  


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1 Answers  


write a program to print the one dimensional array.

1 Answers  


the data type used for unlimited value in c and how to do this program

0 Answers  


Convert the following expression to postfix and prefix (A+B) * (D-C)

3 Answers   Satyam,


discuss the steps needed to get a program from source code to executable in a system?

1 Answers  


What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }

2 Answers  


What are volatile variables?

1 Answers   Mind Tree,




Categories