C++ – Program Structure

Writing first C++ program Learning  C++ programming can be simplified into: Writing your program in a text editor and saving it with correct extension(.CPP, .C, .CP) Compiling your program using a compiler or online IDE Understanding the basic terminologies. The best way to learn a programming language is by writing programs. Typically, the first program is a […]

Parts of Computer – Input, Output, Processing, Storage

Parts of Computer:- The computer is an electronic machine that performs the following four general operation Input                       Output         Processing               Storage Input Device:- The input H/W allows you to enter data into the computer. The primary device used are the keyboard and mouse. Mouse – The mouse is a device that allows you to control […]

Union in C

Union in C A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. Unions provide an efficient way of using the same memory […]