When there is a global variable and local variable with the same name, how will you access the global variable?
No Answer is Posted For this Question
Be the First to Post Answer
What are the different types of Storage classes?
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData
What are the two main components of c++?
What is iterator c++?
What is the difference between the indirection operator and the address of oper-ator?
What is c++ redistributable?
what is data Abstraction? and give example
147 Answers Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,
what are Access specifiers in C++ class? What are the types?
What is a "RTTI"?
What are mutator methods in c++?
given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().
What is a sequence in c++?