Professional Documents
Culture Documents
2. Write a program in C to find the square of any number using the function.
The Code:
The Output:
3. Write a program in C to check a given number is even or odd using the
function.
The Code:
The Output:
The Code:
The Output:
5. Write a program in C to find the maximum number between two numbers
using a pointer
The code:
The Code:
The Output:
7. Write a program in C to sort an array using Pointer.
The Code:
The Output:
The Output:
The Code:
The Output:
The Output: