What is a storage class in C++

Answer Posted / nashiinformaticssolutions

Certain characteristics of variables or functions are defined by storage classes. These characteristics include lifetime, or how long a variable is active, and visibility, or how easily a variable may be accessed from various parts of the program.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write about the retrieval of n number of objects during the process of delete[]p?

771


Is c++ the best programming language?

740


How to access a variable of the structure?

769


Should the member functions which are made public in the base class be hidden?

759


When do you call copy constructors?

858


What do you understand by zombie objects in c++?

823


Is c++ vector a linked list?

767


What are c++ storage classes?

791


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3897


Write a Program to find the largest of 4 no using macros.

805


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3620


what is data abstraction in C++?

826


How delete [] is different from delete?

768


Can you write a function similar to printf()?

860


Can comments be nested?

797