For reversing each odd bits of a given number, simply do XOR ’^’ each of its 4 hex parts with
Category: Interview Question
Q42 Write a C program to reverse the bits in an integer.
Given below a C program to reverse the bits in an integer. int main() { unsigned int num; /* Reverse the
Q41 What is the use of bitwise operators and shift operator?
We use bitwise and “&” to test if certain bit(s) are one or not. And’ing a value against a pattern
Q40 Write a C program to count number of bits set in an integer.
The simplest way is, use bitwise ‘&’ operator on each bit of number by shifting right one by one and
What are the advantages of using Python?
Python is one of the easiest free languages to learn and use, while at the same time being very powerful:
What is Python?
Python is a high-level general-purpose programming language that can be applied to many different classes of problems. It is an
Q39 How to check a particular bit is set or not? Write a program to count number of bits set in an integer.
There are many methods to check a particular bit is set or not. Method 1: Suppose I want to check
Q38 What is storage class and its type?
To know the answer please click on this link C Storage class.
Q37 How will you determine a machine is 32 bit or 64 bit?
All compiler keep the size of integer the same as the size of register on a particular architecture. So the
Explain LTE uplink (UL) channels.
There are very few uplink channels in LTE compare to legacy technology. Uplink logical channels: CCCH and DCCH is called
Identifiers used in LTE.
These are the identifiers used in LTE technology. Identifiers Full Form Description Length of Identifiers IMSI International Mobile Subscriber Identity
Q36 Is float a = 22/7 and double b = 22/7 is equal? How to compare floating point numbers?
if(a == b) may be true or may not be, that’s because of the way floating point numbers are stored.
What is IMSI and GUTI?
IMSI stands for International Mobile Subscriber Identity. It is a unique identifier of mobile subscriber globally. An IMSI consist MCC,