Question: subject== c++ programin Question 04: Write a prototype for each of the following descriptions: a. A function called Function that has no parameters and returns

subject== c++ programin
Question 04: Write a prototype for each of the following descriptions: a. A function called Function that has no parameters and returns an integer. b. A function called Function2 that has no parameters and no return value. C. A function called ReturnInteger that has an integer parameter called Value followed by a floating point value called Number. The function also returns an integer. d. A function called NewFunction that accepts a floating point number called Number and an integer called Number2. The function also returns a floating point number. e. Function swap which takes two integers x, y by reference and returns a character. f. Function intToDouble that takes an integer number and returns a double. g. Differentiate between reference and dereference operator. h. Write down the syntax to initialize pointer. Differential between variable declaration and variable definition. j. Define function call with the help of suitable example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
