List out function which we can call without using object
Answer / manoj kumar kar
Static Functions
Friend Functions
The above 2 functins can be called without using objects.
| Is This Answer Correct ? | 11 Yes | 0 No |
What is the benefit of encapsulation?
difference between macro and function?
Is c++ fully object oriented?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
How to demonstrate the use of a variable?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
Name the implicit member functions of a class.
what is difference between static and non-static variables
Define the process of error-handling in case of constructor failure?
Can you Mention some Application of C/C++?
Is c++ built on c?
What is constructor c++?