[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

# Bitwise Operator Programs in C

1 / 15

Write an efficient program to count the number of bits set in an integer number

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

2 / 15

Write an efficient program to set the bits in a given range(start and end position given) in an integer number

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

3 / 15

Write an efficient program to swap the odd and even bits in an integer

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

4 / 15

Write an efficient program to check whether given number is power of two or not

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

5 / 15

Write an efficient program to toggle all bits in a given integer number

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

6 / 15

Write an efficient program to swap the nibbles in a byte

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

7 / 15

Write an efficient program to check the endianness of the machine

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

8 / 15

Write an efficient program to convert a given number from little endian to big endian

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

9 / 15

Write an efficient program to covert decimal number into binary number

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:TCS

10 / 15

Write an efficient program to convert from binary to decimal number

Input : NA

Output : NA

|  Bitwise Operator | | | |  Fresher

Tags:No Tags on this question yet!

+ Contribute Programming Qs.

Baig
1