answersLogoWhite

0

How the member function can be undefined?

Updated: 12/10/2022
User Avatar

Spidapig

Lvl 1
11y ago

Best Answer

You cannot undefine a member function.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How the member function can be undefined?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is member fusion in c plus plus?

If you are asking about member functions. When we declare a function inside a class then that function becomes member function of that class and this function can access the whole class


How do you differentiate between a member function and normal function?

A normal function is any function that is not a member of any class. Normal functions that operate upon a class are referred to as non-member functions, however a non-member function can also be a member of another class. Any class may declare any non-member function to be a friend of the class, in which case the function becomes a friend function.A member function is a member of a class and may be declared static or non-static. Non-static member functions have the following 3 properties:Private access to the class members.Scoped to the class.Must be invoked against an object of the class (has a 'this' pointer).Static member functions have the first two properties only while friend functions have the first property only. Non-member functions that are not friends of the class have none of these properties.


Can static member function be overloaded?

Yes. Any function can be overloaded. However you cannot override a static member function. Only instance members can be overridden.


What types of functions cannot be made virtual?

Static member functions, member function templates and constructors cannot be virtual.


Why can't the accessor member function change any of the values in a class in C plus plus?

Nothing stops a member function from changing any of the values in a class. By convention, an accessor function is used to give read only access to class data, but that does not mean that it is prohibited from doing so. It is a member function, after all, and it has all the rights of any member function of the class.

Related questions

When the denominator is zero in a rational function what is that called?

Undefined.


If a function has a vertical asymptote at a certain x-value then the function is at that value?

Undefined


What does an undefined graph look like?

An graph with an undefined region has a gap somewhere, where the function at that point is not valid. Usually there is a disjoint or a disconnect between the lines of the graph.


A function has vertical asymptotes at x-values for which it is and near which the function's values become very positive or negative numbers?

Undefined; large


What is member fusion in c plus plus?

If you are asking about member functions. When we declare a function inside a class then that function becomes member function of that class and this function can access the whole class


Can the graph of a function have an undefined slope?

Yes and the straight line could be parallel to the x or y axes


Is a line with undefined slope the graph of a function?

This is not a function. To be a function, there must be a one to one relationship between the independent variable (usually represented by the horizontal or x axis) and the dependent variable (usually represented by the vertical or y axis). A line with undefined slope is a vertical line, so there are an infinite number of possibilities for y and only one possible value of x, so this is not a function.


Can a linear function not have a y-intercept?

No, it would have to be parallel to the y-axis, making the slope undefined and having only a single x-value. Not a linear function.


What is undefined divided by undefined?

Mathematical operations involving undefined are not permitted. So the answer is undefined.


In the ordered pair x y the value of y is a member of the?

x is a member of the function's domain, y is a member of the function's range.


What is the difference between friend function and normal member function?

We can access a Friend function from any other class in which friend function is introduced or declared even if the other class is not a member of first class. But when we use normal member function, we can have its access only in the derived classes of the first class. This is the basic difference between a friend function and a normal member function.


If the value of a sine function is 0 then the co-secant function is undefined?

That's right. cosecant(x) = 1 / sine(x), so you would get a division by zero.