Purchase Solution

Bitwise Logical Operation in C/C++

Not what you're looking for?

Ask Custom Question

Given two bit strings of length n (n equal or bigger 16), find the bitwise or the bitwise and XOR of these strings.

Example:

0110110110
1100011101
---------------
1110111111 (Bit wise OR)
0100010100 (Bitwise AND)
1010101011 (Bitwise XOR

Purchase this Solution

Solution Summary

This solution teaches how to do Bitwise and/or, XOR logical operations on bit strings.

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Networking Questions

This quiz consists of some basic networking questions.

C# variables and classes

This quiz contains questions about C# classes and variables.