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



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

Answer / manoj kumar

36

Is This Answer Correct ?    71 Yes 16 No

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

Answer / kumaran

36

Is This Answer Correct ?    21 Yes 9 No

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

Answer / kadamab

36

Is This Answer Correct ?    15 Yes 5 No

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

Answer / vignesh1988i

x will be 36....

Is This Answer Correct ?    12 Yes 7 No

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

Answer / e.manjuladevi

x=2

Is This Answer Correct ?    13 Yes 9 No

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

Answer / pallavi

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

Is This Answer Correct ?    8 Yes 4 No

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

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 ?    8 Yes 5 No

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

Answer / hari

x=2

Is This Answer Correct ?    2 Yes 0 No

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

Answer / guest

x=1

Is This Answer Correct ?    18 Yes 20 No

Post New Answer

More C Interview Questions

consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

4 Answers   TCS,


largest Of three Number using without if condition?

0 Answers  


Define macros.

0 Answers   Tech Mahindra,


write a c program to convert fahrenheit to celsius?

4 Answers   TCS,


Tell me about low level programming languages.

0 Answers   Amdocs,






What is signed and unsigned?

0 Answers  


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,


sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.

1 Answers  


What is dynamic memory allocation?

0 Answers  


6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?

3 Answers  


What are the c keywords?

0 Answers  


hat is a pointer?

4 Answers   Assurgent,


Categories