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
#include stdio.h> #include conio.h> #include string.h>   void del(char[],char *); main() {           char str[30],ch,*pp;           clrscr();           p

Define Passing Structure to a Function? A structure is able to be passed as a function argument identical to any other variable. If we are merely interested in one member of a

n this problem u given a board in which some of the elements are placed as shown in diagram below .each element represent a color .fill the other elements in the board such that no

Write a ‘C’ program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.

Inline function: It is a function without prototype. The function is defined above main. The function should  be  declared  above  main  function.                  Declaring

i didnt no how to write and how to implement and the programming can be done in C and execution should be done in UNIX

PROCEDUAL PROGRAMMING INTRODUCTION

Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop

Produce a pseudo code to be used for development compute and display some data on the bounces a ball will make when dropped from a given height. To simplify the problem, you ass