Passing arguments in C functions

Argument passing is a technique for transferring data and information between the calling and called function. There are two ways to pass arguments to the called function:a)Call by Value b)Call by reference.

Passing a two-dimensional array as an argument in C

Array can also be passed to the function. To pass an array, you need to specify the name of the array and the size of the array in actual arguments. The corresponding formal arguments will also have array with two subscripts, size of first subscript can be omitted, a variable to hold the row size and a variable to hold the column size. The three arguments in the actual arguments list.

Program to find sum of positive numbers and exit when negative number is entered in C

In this example we use arrays(one dimensional array). Arrays are declared in the same as simple variables, but the difference is that each array name must be accompanied by a size(aa[20]) specification using subscript.

Use of Sound and delay function in C

sound()is used to make a sound in a program. textattr() method is used for colourful characters.We can display Colourful Characters in TextMode and play sounds of random frequencies.

Storage Classes in C

Storage class is a characteristics of possession by a variable in C. The storage class of a variable determines the nature of the variable. Whenever you declare a variable, specify the storage class and data type of variable. C language supports four types of storage class 1)auto 2)register 3)static 4)extern

Page 3 of 9

About Us

Rekha SetiaRekha Setia is a passionate blogger of Extra Computer Notes. if you have any ideas or any request me @