-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path00_questions.txt
26 lines (14 loc) · 940 Bytes
/
00_questions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
⭐⭐⭐⭐⭐⭐⭐ WEB WITH AMAN ⭐⭐⭐⭐⭐⭐⭐
🟢 Language ➡ C++
🟢 Topic ➡ Functions
1. Define a function to check whether a given number is a Prime number or not.
2. Define a function to find the highest value digit in a given number.
3. Define a function to calculate x raised to the power y.
4. Define a function to check whether a given number is a term in a Fibonacci series or not.
5. Define a function to print Pascal Triangle up to N lines.
6. Define a function to swap data of two int variables using call by reference.
7. Write a function using the default argument that is able to add 2 or 3 numbers.
8. Define overloaded functions to calculate area of circle, area of rectangle.
9. Write functions using function overloading to find largest of two numbers and
both the numbers can be integer or real.
10. Write functions using function overloading to add two numbers having different data types.