Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


main()

{

signed int bit=512, mBit;

{

mBit = ~bit;

bit = bit & ~bit ;

printf("%d %d", bit, mBit);

}

}

a. 0, 0

b. 0, 513

c. 512, 0

d. 0, -513

Answers were Sorted based on User's Feedback



main() { signed int bit=512, mBit; { mBit = ~bit; bit = bit & ~bit ; p..

Answer / guest

d)

Is This Answer Correct ?    33 Yes 0 No

main() { signed int bit=512, mBit; { mBit = ~bit; bit = bit & ~bit ; p..

Answer / soni

b

Is This Answer Correct ?    0 Yes 2 No

main() { signed int bit=512, mBit; { mBit = ~bit; bit = bit & ~bit ; p..

Answer / kumaran

a

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More C Code Interview Questions

Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.

1 Answers  


writte a c-programm to display smill paces

2 Answers  


String copy logic in one line.

11 Answers   Microsoft, NetApp,


main() { int x=5; for(;x!=0;x--) { printf("x=%d\n", x--); } } a. 5, 4, 3, 2,1 b. 4, 3, 2, 1, 0 c. 5, 3, 1 d. none of the above

2 Answers   HCL,


#include<stdio.h> #include<conio.h> void main() { int a=(1,2,3,(1,2,3,4); switch(a) { printf("ans:"); case 1: printf("1");break; case 2: printf("2");break; case 3: printf("1");break; case 4: printf("4");break; printf("end"); } getch(); }

0 Answers  


main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }

1 Answers  


how to concatenate the two strings

1 Answers  


main() { char not; not=!2; printf("%d",not); }

1 Answers  


write a program in c language to get the value of arroy keys pressed and display the message which arrow key is pressed?

1 Answers  


Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };

1 Answers  


void main() { char ch; for(ch=0;ch<=127;ch++) printf(ā€œ%c %d \nā€œ, ch, ch); }

1 Answers  


What is data _null_? ,Explain with code when u need to use it in data step programming ?

0 Answers   Abbott,


Categories