Answer Posted / anil
internal static is a storage that is local to the program
and is allocated prior to execution time.That is at
executing time this storage exists,it is reserved for all
time,whether it is used or not and the values remain same
throughout the calls
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Out of fgets() and gets() which function is safe to use?
Why do we use string in c++?
What is function overriding in c++?
Explain the difference between struct and class in terms of access modifier.
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is const in c++?
What are references in c++? What is a local reference?
What is difference between rand () and srand ()?
What does iomanip mean in c++?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
Write a program to add three numbers in C++ utilizing classes.
What is a literal in c++?
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.
what is data encapsulation in C++?
What is helper in c++?