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 ?    44 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 17 No

Post New Answer



More C Interview Questions

what is the need for main function in c?

5 Answers  


int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?

15 Answers   Mascot,


which type of question asked from c / c++ in interview.

2 Answers  


enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above

8 Answers   HCL, Wipro,


Write a program to compute the following 1!+2!+...n!

4 Answers  


how the size of an integer is decided? - is it based on processor or compiler or OS?

19 Answers   Microsoft, HCL, nvidia, JPR,


related proverb of "dont count your chicken before it hatches"

1 Answers  


how to get starting address of a running C program

3 Answers  


Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

2 Answers  


What is the real difference between arrays and pointers?

26 Answers   Hexaware, TCS, Logic Pro,


Output for following program using for loop only * * * * * * * * * * * * * * *

3 Answers  


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

0 Answers  




Categories