1 votes 1 votes If only one memory location is to be reserved for a class variable, no matter how many objects are instantiated, then the variable should be declared as extern static volatile const Programming in C programming isro2014 runtime-environment + – ajit asked Aug 15, 2015 edited Dec 9, 2022 by Lakshman Bhaiya ajit 2.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
7 votes 7 votes the answer is b . Static memebers of a class share same memory by all the object. if u want to check just make a class and define a variable static in it . else if u don't want to type here u go . check this post . http://www.learncpp.com/cpp-tutorial/811-static-member-variables/ Tendua answered Aug 16, 2015 Tendua comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes answer is static Regina Phalange answered Apr 5, 2017 Regina Phalange comment Share Follow See all 0 reply Please log in or register to add a comment.