Union in C

UNION

Like structures, union is a collection of data items of different types. The only difference between structure and union is from the view point of storage of their members. All the members of a structure are assigned  separate memory locations, but union allows you to view a single storage area in more then one way, i.e all the members of a union the same memory area.

Operations on an Array in C

 

In Computer Programming,an Array,also known as a Vector or List,is one of the simplest data structure.Array holds equally sized data elements, generally of the same data type.In this individual elements are accessed by index(for ex arry[0],arry[2] here 0 and 2 are the index).

Fibonacci Series Program and Algorithm in C

 

Fibonacci series is a series of nos.(0,1,1,2,3,5,8………so on) in which a new number is found by adding(+) up to 2 nos. before it for example 0+1=1,   1+1=2,   2+1=3,  3+2=5, 5+3=8…….)

Program of Sorting using Selection Sort

The Selection sort technique is based upon the extension of the maximum/minimum technique. By means of a nest of for loop a pass through the array is made to locate the minimum value.

Pointer in C

 

Pointers are variables that contains memory addresses as their values.The & or address operator, is a unary operator that returns the address of its operand.

  •  Start 
  •  Prev 
  •  1  2  3  4  5  6  7  8  9 
  •  Next 
  •  End 

Page 1 of 9