Answer Posted / narendra kumar
ans 2 is correct but only a wrong thing in this is static
means it's scope exits through out the programme.it is same
as the global declaration of the object.
ex. static count=0;
++count
it will give 1
in another function we use ++count than it will give 2 not 1
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Can manipulators fall in love?
Explain one method to process an entire string as one unit?
Explain register storage specifier.
Can I learn c++ as my first language?
What is meant by forward referencing and when should it be used?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
What is a stack? How it can be implemented?
What is prototype for that c string function?
What do you mean by “this” pointer?
Ask to write virtual base class code?
What is the c++ code?
What do you mean by function pointer?
Differentiate between an array and a list?
What is the role of C++ shorthand's?
Can we change the basic meaning of an operator in c++?