disadvantage of friend functions is that they require an extra line
of code when you want dynamic binding. To get the effect of a virtual friend,
the friend function should call a hidden (usually protected:) virtual[20]
member function.
Read more: Demerits_of_friend_function
Write a merits and demerits of using function in program
Are mala cha pahije disadvantages.. ani tumhi mala vichartat.. ask to scientist....
Some function are not using in c
using function we can call the function in the program any where. by using functions we can reduce the code redundancy
C programs do not function without functions.
Not possible. Of course you can call a function which does the addition for you, but function-calling is also an operator in C.
using max function
#include<
The operator required to call c function using object name is function object. Other operator names that deal with objects are structure dereference, structure reference, and indirection
I don't think its possible. Every C++ program must at least have the main function.
its quite simple using printf function
Copy and paste. Read the documentation for the editor you are using.