C Programming Plus
www.cprogrammingplus.com
Pages
Home
Input Output
Operator
Math.h
If, If....else
Conditional Operator
Switch
Series
Pyramid
Loop
One Dimensional Array
Multi Dimensional Array
String.h
String
File Read
File Write
File Read and Write
Structure
Function
Recursive Function
Pointer
Miscellaneous program
ASCII Character Codes
PDF Books
Function
18.1. Write a function that gets two integers and returns sum.
18.2. Write a function that gets two integers and returns sum.
18.3. Write a function that gets two integers and returns division.
18.4. Write a function that gets two integers and returns maximum.
18.5. Write a function that gets two integers and returns minimum.
18.6. Write a function that gets length and width of a rectangle and returns area.
18.7. Write a function that gets radius of a circle and returns area.
18.8. Write a function that gets three numbers and returns maximum.
18.9. Write a function that gets three numbers and returns minimum.
18.10. Write a function that gets three numbers and returns medium.
18.11. Write a function that gets any positive integer and returns its factorial.
18.12. Write a function that gets any positive integer and returns its digital sum.
18.13. Write a function that gets any positive integer and returns digital root.
18.14. Write a function that gets any positive integer and returns its reverse.
18.15. Write a function that gets two positive returns GCD (greatest common divisor).
18.16. Write a function that gets two positive integers and returns LCM (least common multiple).
18.17. Write a function that gets two positive integers(a, b) and returns a to the power b.
18.18. Write a function that gets two positive integers and returns nPr (Permutation).
18.19. Write a function that gets two positive integers and returns nCr (Combination).
18.20. Write a function that gets any positive integer and determine prime or not prime.
18.21. Write a function that gets an array and returns sum.
18.22. Write a function that gets an array and returns average.
18.23. Write a function that gets an array and returns maximum.
18.24. Write a function that gets an array and returns minimum.
18.25. Write a function that searches any number in an array.
18.26. Write a function that sorts an array.
18.27. Write a function that gets a string and returns its length.
18.28. Write a function that gets a string and reverses all characters.
18.29. Write a program that gets a string and convert it to upper case.
18.30. Write a function that gets a string and convert it to lower case.
18.31. Write a function that copies one string over another string.
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment