any string of bits of length 'n' represents a unique non-
negative integer between.............?

Answers were Sorted based on User's Feedback



any string of bits of length 'n' represents a unique non- negative integer between.........

Answer / ravi joshi

Between 0 and 2^n-1

Is This Answer Correct ?    16 Yes 0 No

any string of bits of length 'n' represents a unique non- negative integer between.........

Answer / vinocit

2^n

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More C Interview Questions

2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

0 Answers  


Explain the use of 'auto' keyword in c programming?

0 Answers  


What are the different types of linkage exist in c?

0 Answers  


Write a program to check armstrong number in c?

0 Answers  


How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

6 Answers   Adobe, Huawei,


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

0 Answers  


In how much time you will write this c program? Prime nos from 1 to 1000

2 Answers   TCS,


What is data types?

0 Answers  


why division operator not work in case of float constant?

2 Answers  


What is C language Terminator?

15 Answers   TCS,


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

0 Answers  


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

0 Answers  


Categories