Reading/Writing to One-Dimensional Array Example: int age[5] scanf("%d", &age[0]); //read data from keyboard into array ag...
Read More
Showing posts with label major componenets of modern computer system. Show all posts
Showing posts with label major componenets of modern computer system. Show all posts
program to find maximum element in an array of n integer elements
#include<stdio.h> int main () { int a[50],n,max, i; printf(“\n\tEnter the number of elements: “); scanf(“%d”,&n); printf(“\...
Read More
Pointers and Strings
The arrays are implicitly treated as pointers. And the strings are array of characters terminated by NULL character. Hence a pointer to cha...
Read More
STRING MANIPULATION FUNCTIONS FROM THE STANDARD LIBRARY
Strings are often needed to be manipulated by programmer according to the need of a problem. All string manipulation can be done manually b...
Read More
FUNCTION IN C
A complex problem is often easier to solve by dividing it into several smaller parts(pieces), each of which can be solved by itself. Each s...
Read More
Function Declaration and Prototype
Every function in C program should be declared before they are used. Function declaration gives compiler information about function name, t...
Read More
ACTUAL AND FORMAL ARGUMENTS
Argument (or parameter) refers to data that is passed to function (function definition) while calling function. Arguments listed in functio...
Read More
STORAGE CLASS
Every variable in C program has two properties: type and storage class. Type refers to the data type of variable And storage class determin...
Read More
THE LIST ADT
List is an ordered set of elements. The general form of the list is A1, A2, A3, ..... ,AN A1 - First element of the list AN - Last elem...
Read More
Trees
TREE A tree is a finite set of one or more nodes such that there is a specially designated node called the Root, and zero or more non emp...
Read More
C++ Operators
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C++ is rich in built-in operato...
Read More
General Structure of C++ Program
/* General Structure */ Pre-processor Directives main ( ) { Variable Declarations; Executable Statements; } ex: /* A Simple Progra...
Read More
What is Memory and Cache Memory
Computer Memory Memory is an essential component of any digital computer. It is storing device. It stores programs and data, which is re...
Read More
OVERVIEW OF COMPUTER
Definition Computer is an electronic machine that can store, recall and process data. It can perform tasks or complex calculation accord...
Read More
Difference between RAM (Random Access Memory) and ROM (Read Only Memory)
Random Access Memory (RAM) RAM is also called as the main memory of a computer. This is really the main store and is the place where the...
Read More
Components of Computer system
1. Hardware The physical parts of a computer system called as hardware. The hardware components can be seen, touch and feel. The hardwar...
Read More
Computer hardware | The major componenets in modern computer system.
A computer has various parts and each part performs a specific functions. We can define hardware as the parts of the computer that...
Read More
Subscribe to:
Posts (Atom)