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
check this link: http://cactus.eas.asu.edu/partha/Teaching/430.2013/Project/proj-2.2013.htm

A: It allows a program to reference an identifier in global scope which has been hidden by another identifier along with the same name in the local scope.

Inline Functions Imagine a c program, which reads disk records having employee information. If this is a payroll application each employee record data is probably processed by

Hi is there any chance to get assignment for fresher tutor

L is a text and can be composed of any of the characters {, }, (, ) , and P, where P will represent the instruction. L will contain single spaced characters where each character

how to make a diamond from steric

Program of file data: FileData::FileData( ffblk& blk ) :     fileName( blk.ff_name ),     fileDate( (blk.ff_fdate >> 5) & 0x000F,               blk.ff_fdate & 0x0001F

F u nction overloading: Functions can be defined with same name.  Depending upon the type of argument passed the function will perform.  This is known function overloading

Define Keywords in C++ K e y w o r d s: K e y w o rd s a r e t h e w o rd s a l r e a d y u s e d b y C + + i n i t s c

how would land elevation have changed if Coronado had traveled 150 miles due west from what is today Arizona instead of east toward New Mexico