FUNCTIONS

8 programming challenges to help you master the fundamentals of C LANGUAGE.

1

Write a program to enter 2 number from the users add them and display the answer, again enter 2 number from the user subtract them and display the answer, again enter 2 number from the user add them and display the answer, again enter 2 number from the user multiply them and display the answer, again enter 2 number from the user subtract them and display the answer, again enter 2 number from the user multiply them and display the answer, again enter 2 number from the user divide them and display the answer, again enter 2 number from the user divide them and display the answer, again enter 2 number from the user add them and display the answer ?

2

Write a program to enter 10 number from the user add the number and display the answer ?

3

Write a program to return an array from function ?

4

Making following program using local and global variable ? Factorial , Reverse , Palindrome , Prime numbers, Armstrong , Fibonacci

5

Swap numbers using Call by address ?

6

Swap numbers using Call by function ?

7

Make function for find out power of number, enter the number and power from user ?

8

Make function for find out Cube a user entered number ?