-->

programs for storage classes

programs for storage classes

click the link below.

----------------------------------------------------------------------------------------------

Storage class:- We understand here some programs which use different storage concept.


1) Automatic (also called local variables):

2) External storage (also called global storage or variables:

3)static storage:-

4)register storage:-

Recursive function programs

Recursive function programs
click the link given below.
---------------------------------------------------------------------------------------------

Recursive function:-

1)Find factorial value of a number using recursive function.

2)Find fibonacci series using recursive function.
3)WAP to find sum of natural numbers using recursive function.

4)

program using FUNCTION WITH ARGUMENTS AND RETURN VALUES.

program using FUNCTION WITH  ARGUMENTS AND  RETURN VALUES.


click the link given below.
---------------------------------------------------------------------------------------------------------------------------

1) WAP to pass array as parameter to input any five numbers and then find their sum.

                                                                                                                                        solution
2) wap to get length of string by passing string as parameter.
                                                                                                                                        solution

3)WAp to find greatest number among ten numbers. PAss array as parameter.

                                                                                                                                        solution
4)WAP to input weight of 100 students and count number of students who have weight in between 40 and 60 kg. Pass Weight as an array as parameter.

                                                                                                                                            solution

5)WAP to search a number in a list of numbers using array as a parameter.
                                                                                                                                           solution

6)WAP to reverse a string.Pass string as parameter and return its reverse.

                                                                                                                                          
                                                                                                                                         solution

7) Wap to concatenate two strings.Pass string as parameter and return the result.

                                                                                                                                           solution

8)WAP to copy a string .Pass strings as parameter. Return that as output.

                                                                                                                                          solution

9)WAP to convert string into lowercase.PAss string as parameter and return as an output.

                                                                                                                                        solution

program using FUNCTION WITH NO ARGUMENTS AND RETURNING SOME VALUES.

program using FUNCTION WITH NO ARGUMENTS AND  RETURNING SOME VALUES.

click the link given below.
------------------------------------------------------------------------------------------------------------------
1)WAP to get factorial value of a number using function.It returns value with no parameter.

                                                                                                                          solution

2)WAP to get reverse of a number using function.

                                                                                                                         solution


                                                                                                                        
4) WAp to know a number is prime or composite or not using function.

                                                                                                                        solution

5)WAP to get square root of a number using function.


                                                                                                                        solution


                                                                                                                        

6)WAp to concatenate two strings. Use no arguments and return its output.

                                                                                                                      solution

                                                                                                                        
8)wap to find factorial value of a number using function.

                                                                                                                      solution

9)WAp to convert string into lowercase.Use no arguments and return value..

                                                                                                                     solution

10)WAP TO GET LENGTH OF STRING USING FUNCTION

       
                                                                                                                                         solution
11)Write a program to reverse a a string using function.

                                                                                                                                    SOLUTION