Here is the program for you
int main(int argc, char* argv)
what characters or strings are given as input to the atof in the above program?
other method using inheritence
class B:public A
well in this case, a compiler error will be thrown. Because u r trying to create a class object which is global to the code whereas the...
cout<<"Enter a string"<<endl;
This will terminate ur calling process
The constructor is never inherited by the derived class, so it doesnt matters wherever u write the constructor.
When u create a structure, a definition is being created. But when u insert a variable of the same structure in the definition, the structure is...
Separate names with a comma.