Describe the main characteristics of static functions?
Answer / atul shankhwar
The main characteristics of static functions include,
It is without the a this pointer,
It can't directly access the non-static members of its class
It can't be declared const, volatile or virtual.
It doesn't need to be invoked through an object of its class, although for convenience, it may.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a stack? How it can be implemented?
I want to write a C++ language program that: 1. 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. The program should work for squares of all side sizes between 1 and 20.
What happens if a pointer is deleted twice?
Explain working of printf?
Write a function which takes a character array as input and reverses it in place.
2 Answers Lehman Brothers, Vision Infotech,
What are virtual functions in c++?
Do you need a main function in c++?
what is Member Functions in Classes?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
What are smart pointers?
Explain the benefits of proper inheritance.
Does c++ vector allocate memory?