Monday, March 25, 2013

Array in c prograqmmming




There are times while writing C code, you may want to store multiple items of same type as contiguous bytes in memory so that searching and sorting of items becomes easy. For example:
  1. Storing a string that contains series of characters. Like storing a name in memory.
  2. Storing multiple strings. Like storing multiple names.
C programming language provides the concept of arrays to help you with these scenarios.

Saturday, March 23, 2013

Function in C Programming



                                           function



A  function is an independent
section of program code that performs a certain task and has been assigned a name.

 By  referencing a function’s name, your program can execute the code in the function.

Tuesday, March 19, 2013

Volt-Ampere Characteristics of pn Junction




Volt-ampere or V-I characteristic of a  pn  junction (also called a  crystal or semiconductor diode) is the
curve between voltage across the junction and the circuit current.  Usually, voltage is taken along  x-
axis and current along  y-axis. The below  fig.1  shows the  circuit arrangement for determining the  V-I
characteristics of a  pn  junction. The characteristics can be studied under three heads, namely;    zero     external voltage ,   forward bias and   reverse bias .

                                             Figure:1