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

24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?

0 Answers  


C language questions for civil engineering

0 Answers   Tech Mahindra,


difference between my-strcpy and strcpy ?

3 Answers   Geometric Software, IIM,


2. What does static variable mean?

2 Answers  


How to access or modify the const variable in c ?

16 Answers   HP, HCL,


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


nic scientist exam

1 Answers   NIC,


what is c programing

11 Answers   Wipro,


How to delete a node from linked list w/o using collectons?

0 Answers   Zycus Infotech,


Write a C function to search a number in the given list of numbers. donot use printf and scanf

6 Answers   TCS, Honeywell,


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

15 Answers   Mascot,


3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r

3 Answers   Huawei,




Categories