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 object in c++ example?
What do you mean by pure virtual functions in C++? Give an example?
How to implement is-a and has-a class relationships?
What are the debugging methods you use when came across a problem?
Why was c++ created?
What are structs in c++?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
I need to find a specific string between two strings how do I do it?
Explain one-definition rule (odr).
Which bitwise operator is used to check whether a particular bit is on or off?
What is c++ best used for?
If there are two catch statements, one for base and one for derived, which should come first?