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

using for loop sum 2 number of any 4 digit number in c language

0 Answers  


How would you sort a linked list?

1 Answers  


Explain the differences between public, protected, private and internal.

2 Answers  


what is mean by Garbage collection ? Please answer me. Advance thanks.

4 Answers   Excel,


for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float

1 Answers  


main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }

7 Answers   TCS,


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

0 Answers  


what is the use of c program?

4 Answers   Synergy, Web Synergies,


Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.

2 Answers  


what are the various memory handling mechanisms in C ?

4 Answers   HP,


program to print upper & lower triangle of a matrix

2 Answers   TCS,


void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?

7 Answers  




Categories