What are the different types of Storage classes?

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


Please Help Members By Posting Answers For Below Questions

What is algorithm in c++ programming?

589


Can manipulators fall in love?

565


Explain one method to process an entire string as one unit?

934


What are keywords in c++?

602


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

618






What is the first name of c++?

566


What are the implicit member functions of class?

597


Write a program to find the reverse Fibonacci series starting from N.

612


Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D

3063


What is a flag in c++?

609


why is c++ called oops? Explain

583


What are the two types of polymorphism?

591


What is an adaptor class in c++?

603


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

571


Differentiate between the message and method in c++?

611