What does it mean to declare a function or variable as static?


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

Post New Answer

More C++ Interview Questions

Is deconstructor overloading possible? If yes then explain and if no Then why?

1 Answers  


Write a syntax and purpose of switch statement.

0 Answers   Agilent,


Can we call a virtual function from a constructor?

1 Answers  


What is name mangling/name decoration?

0 Answers   Amazon,


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  






Write a C++ program to print strings in reverse order.

0 Answers   Amdocs,


What are issues if we mix new and free in C++?

0 Answers  


What is an abstract class?

5 Answers   Siemens,


What is Copy Constructor?

5 Answers   ABC, Siemens,


What are the advantages/disadvantages of using inline and const?

0 Answers   Amazon,


There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

0 Answers   Amazon,


Categories