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
C Program for RADIUS OF CIRCLE   #define PI 3.14159 main() {           float r,a;           clrscr();           printf("ENTER THE RADIUS OF A CIRCLE: ");

color representation 0,1,2,3,4,5,6,7...

Static Member Functions All the objects of the class share static data members of a class. The example above demonstrates how to keep track of all the objects of a class which

What is meant by open addressing? Explain various collision resolution techniques with example

Observe that our model of evaluation allows for combinations whose operators are compound expressions. (a) Use this observation to describe the behavior of the following procedu

Programming an odds betting website Project Description: We want someone to program a odds betting website, Require someone with experience and skills! Skills required are


Implement the search property from catalogue menu option.  After selecting this option the user should be asked to specify the property using the following sub-menu: 1. Specif

3 kilograms of peebles are needed for converting an area of 1 square meter.the rate of the peeble is 5 per kilogram

how yo use the friend function?