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
What is algorithm in c++ programming?
Can manipulators fall in love?
Explain one method to process an entire string as one unit?
What are keywords in c++?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is the first name of c++?
What are the implicit member functions of class?
Write a program to find the reverse Fibonacci series starting from N.
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
What is a flag in c++?
why is c++ called oops? Explain
What are the two types of polymorphism?
What is an adaptor class in c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
Differentiate between the message and method in c++?