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

How can a C function be called in a C++ program?

0 Answers  


How to delete array of objects in C++? Proof by C++ code for proper deletion

0 Answers  


Identify the error in the following program. #include<iostream.h> void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }

1 Answers  


Explain the FOR loop with a help of a code.

0 Answers   Accenture,


Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  






CDPATH shell variable is in(c-shell)

0 Answers   Siemens,


What is an abstract class in C++

0 Answers   SwanSoft Technologies,


What is the difference between creating an object, using 'new' and using 'malloc'?

3 Answers   HFG, Siemens,


What are pass by value and pass by reference?what is the disadvantage of pass by value?

0 Answers   Alter,


What does it mean to take the address of a reference?

0 Answers   Amazon,


What is the meaning of the following declaration: int *const *const *i?

0 Answers   Adobe,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


Categories