Where the memory to the static variables is allocated?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring

1 Answers   Quark,


What is a friend function in c++?

0 Answers  


What is the difference between containment and delegation?

0 Answers  


What are static member functions?

0 Answers  


Which one is a preferred language C or C++? Why?

0 Answers  






Are iterators pointers?

0 Answers  


How const functions will be treated by compiler?

3 Answers   Symphony,


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

0 Answers  


What does it mean to declare a member function as virtual?

0 Answers  


Can you Mention some Application of C/C++?

0 Answers  


what are the types of Member Functions?

0 Answers  


What is abstract class in c++?

0 Answers  


Categories