Vous êtes sur la page 1sur 7

C -LANGUAGE

FUNCTIONS

Nex-G Exuberant Solutions Pvt. Ltd.

FUNCTION

WAP to print the values using with user defined functions-----------------1. Factorial 2. Prime number 3. Fibonacci series 4. GCD 5. Palindrome of number 7. LCM 8. All arithemetic operations 9. Sum of digits
Nex-G Exuberant Solutions Pvt. Ltd.

FUNCTIONS

10. Find power 11. Reverse number 12. Sum of n numbers 13. Binary search 14. Decimal to binary 15.Matrix multiplication 16. Largest element in an array

Nex-G Exuberant Solutions Pvt. Ltd.

FUNCTIONS

16.All pattern questions in loops chapter will be done by functions. 17.Swap two numbers through call by value.

Nex-G Exuberant Solutions Pvt. Ltd.

FUNCTIONS (PRE-DEFINED)

1.WAP to find the length of the string. 2.WAP to find the reverse of the string. 3.WAP to find the concatenation of the two strings. 4.WAP to compare of the two strings. 5.WAP to copy of the two strings.

Nex-G Exuberant Solutions Pvt. Ltd.

FUNCTION--RECURSION

1. WAP to find the factorial of any number using recusion. 2. WAP to find the fibonacci series using recursion. 3.WAP to show global varible and local variables.

NOTETime to complete is-- 8 hours.


Nex-G Exuberant Solutions Pvt. Ltd.

Vous aimerez peut-être aussi