Does there exist any other function which can be used to convert an integer or a float to a string?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the volatile and mutable keywords.
Explain differences between alloc() and free()?
Write bites in Turbo c++ Header ("Include") Files.
What is the difference between a copy constructor and an overloaded assignment operator?
4 Answers Belzabar, Citrix, Microsoft, Wipro,
Why c++ is faster than java?
Generally variables are stored in heap memory. When he variables are created in stack?
Write a program to add three numbers in C++ utilizing classes.
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected
template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }
Can static member variables be private?
Why do we need c++?
write a porgram in c++ that reads an integer and print the biggest digit in the number