What is static function? Explain with an example


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

Post New Answer

More C++ General Interview Questions

In java a final class is a class that cannot be derived. How can you make a similar class in C++

1 Answers  


What is a template in c++?

3 Answers  


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

0 Answers  


How would perform Pattern Matching in C++?

0 Answers   Genpact,


Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??

2 Answers  


Explain queue. How it can be implemented?

0 Answers  


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

0 Answers  


why all c++ program must have default constructor?

6 Answers   IBM,


what is the use of Namespace in c++.

3 Answers  


What do you mean by early binding?

0 Answers  


What do you mean by overhead in c++?

0 Answers  


How can a struct in c++ differs from a struct in c?

0 Answers  


Categories