Why are pointers used?
No Answer is Posted For this Question
Be the First to Post Answer
What is setfill c++?
What are the main characteristics of C++ as a programming language?
What is a type library?
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?
Which function should be used to free the memory allocated by calloc()?
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
What is the difference between a constructor and a destructor in C++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What is the use of volatile keyword in c++? Give an example.
Do you know the use of vtable?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
What are pointers used for c++?