# Learn Programming

## What are Logic gate?

Logic gate are the basic building block of digital computers. Gates, actually are circuits which takes Some input usually (2 or more) to produce a single output. Gates have upon no memory and their output depends the present value of input. The logic gate are used to make combinational circuit (like Half adder, Full adder, …

## Simplify Boolean Algebra (By using its law)

As this lesson you’ll able to learn what is Boolean algebra, how we Simplify Boolean algebra, Basic and Axiomatic definition of Boolean algebra and example. Let’s continue.. Boolean Algebra help to reduce the complex logical expression to simpler expression which saves the price of the unnecessary gates, reduce the number of gates, reduce the power …

## what is Macros in c++ with programs

Macros in c++ are designed to reduce function call overhead in case of a small functions. Concept of macros are not new  to C++, they are also supported by C language. Macros are defined by using hash sign because they are processed by micro-processor not by compilers. Why we use macros in c++? Function call …

## Jump statements in c++ with example of program

Jump statements in c++ are use to transfer control of program execution Unconditionally from one part of the program to another. There are four kind of jump statements in c++ i.e. break statement, continue statement, goto statement, and return statement are discuss below: What is Break statements in c++ The use of break statement causes …

## Implicit and explicit type conversion in c++

Implicit and explicit is a type conversion which helps converting an expression of a given type into another type. In general, type conversion involve converting a narrow type to the wider types so that loss of information is avoid. It has two type i.e. is automatic conversion and type casting. What is implicit type conversion? …

## endl and setw manipulators in c++ show example

endl and setw manipulators in c++ : Are the operators use in the insertion operator(<<) to modify or manipulate the way data is displayed in I/O stream. The most commonly used manipulators are endl, setw, and setprecision. It is defined in the header file “iomanip.h” therefore we need to include it before using manipulators. The …