How do you declare A pointer to function which receives an int pointer and returns a float pointer
No Answer is Posted For this Question
Be the First to Post Answer
What is class invariant in c++?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
Is eclipse good for c++?
Write a program to calculate the BMI of a person using the formula BMI = weight/height2.
What is "mutable" keyword?
Can a constructor be private?
In how many ways we can initialize an int variable in C++?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
How to declare an array of pointers to integer?
Show the declaration for a pointer to function returning long and taking an integer parameter.
What is c++ stringstream?