Answer Posted / aavesh yadav
Static functions are functions which can access only static
variables and local variables.It can be called by class
name bcoz it is specific for a class in which it is
defined,not for any specific object of that class.It can
not be inherited also.
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
Discussion on error handling of C++ .
Should the member functions which are made public in the base class be hidden?
Explain rethrowing exceptions with an example?
What is the difference between global int and static int declaration?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
Describe new operator and delete operator?
How to get the current position of the file pointer?
Explain the difference between struct and class in terms of access modifier.
Why is standard template library used?
How we can differentiate between a pre and post increment operators during overloading?
What is the extraction operator and what does it do?
How do you declare a set in c++?
What is c++ runtime?
Who was the creator of c++?