Program to make another type of mask, C/C++ Programming

Write a function that has int parameter n, makes another type of mask having n bit 1's from the left most bit and 32- n bit 0's next. The mask is called netmask in this seminar, and the function will return the netmask. (Note that a netmask consists of two parts of bit 1's and bit 0's.)

Posted Date: 3/29/2013 3:06:52 AM | Location : United States







Related Discussions:- Program to make another type of mask, Assignment Help, Ask Question on Program to make another type of mask, Get Answer, Expert's Help, Program to make another type of mask Discussions

Write discussion on Program to make another type of mask
Your posts are moderated
Related Questions
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

pls give me answer 01110-00110 in 2''s comlpiment in detail

what is classes?

What is Namespace and Explicit container Namespace - Namespaces are used to group entities such as objects, classes and functions under a name. Explicit container.

Why shouldn't Matrix class's interface look like an array-of-array? A: Some people build a Matrix class that has an operator[] that returns a reference to an Array object (or po

Project Description: Prepare software that will work with our USB hardware that easily lets you backup all the pictures in your computer into the USB stick in one single step. Once


Four cells, each with an internal resistance of 0.40 ? and an e.m.f. of 2.5 V are connected in series to a load of 38.40 ?. (a) Verify the current flowing in the circuit and t

Help for tomorrow...?