Please suggest use of FO
Latest Answer : Function overloading is done for code reuseability, to save efforts, and also to save memory. ...
While copying the objects if you say X a = b and asssume that '=' operator is overloaded then what it will call, a copy constructor or operator overloading function
Latest Answer : We can pass arguments into the macro as well as function.We can say that a Macro is smilar to a global function ...
Latest Answer : Actually macro is faster than a function as the previous one does not go for scanning and validation like a real function, so the time is saved during these processes which makes macro faster. ...
Latest Answer : Actually size of class having no variable but only 1 function is determined by the variables size declared in that fuction. So the size of the class will be the total size of variables which have been declared in that member function. ...
Latest Answer : ?: is a ternary operator and it act as a if else statement for examplea = ( 5>10 ? return 1 : return 0 )if 5 > 10 then return 1 else return 0.Vaibz ...
Latest Answer : A constructor is a member function of a class that is used to create objects of that class. It has the same name as the class itself, has no return type, and is invoked using the new operator. An ordinary member function has its own name, a return type ...
Latest Answer : There are three differences. 1. In Java constructor has its class name. that can be unique. In .NET it has "NEW" by name. 2.It does not have any return type. 3. It cannot be subclass. ...
Latest Answer : Implicit cursor we have to open and close for it's usage.It will not automatically close.Explicit cursor will automaticlly open and close.eg: for x in (exp.) where x is the cursor name exp. is an expression.This ...