answersLogoWhite

0

True - A C++ constructor cannot return a value.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What category in Excel returns a true or false value?

Excel has a category called Logical Functions. The IF function is the one of those that most people use and associate with returning True or False values. Other functions also return True or False values. There is a TRUE function and a FALSE function. The OR function and the AND function can be used to return True or False values too. The NOT function can reverse a True or False value, so it also returns True or False.


What is the difference between return 0 and return -1 in c?

If we consider any function that is not the main function that is declared as "bool" i.e it will return boolean values to the main function-0 & 1, meaning 'false' and 'true' respectively. If we have to tell the main function that the condition checked in the function is false or disagreed, then we return 0 to the main function and when we have to tell that the condition checked in the main function is true or agreed, then we return 1 to the main function.


Can you overload the constructor in java true or false?

Yes, you can have more than one constructor with a different set of parameters.


How do you disable right click in HTML?

<SCRIPT LANGUAGE="JavaScript"> var message="Function Disabled!"; /////////////////////////////////// function clickIE() {if (document.all) {alert(message);return false;}} function clickNS(e) {if (document.layers(document.getElementById&&!document.all)) { if (e.which==2e.which==3) {alert(message);return false; if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script>


What does the NOT function in Excel do?

The NOT function is a logical function used to reverse the result of a logical statement or check if something is false. If you wanted to identify a value that were different in two cells you could use the NOT function to check if they are not equal, like this: =NOT(A2=B2) If they are the same it will return TRUE and if they are the same it will return FALSE.


You can replace any letter in function notation with any number?

No you cannot the answer is False


Is can every class has at least one constructor?

As many as you care to write.


True or false The return value for a JavaScript function must be a variable?

true The return value can be anything you'd like. For instance: return true; is entirely valid.


Write a program in vb to check whether a no is prime or not?

Function isPrime(ByVal n As Integer) As Boolean If n < 2 Then Return False End If Dim sqrtn As Integer = Math.Sqrt(n) + 1 For i As Integer = 2 To sqrtn If (n Mod i) = 0 Then Return False End If Next Return True End Function


Is it true or false that the cosine function is an odd function?

False; the cosine function is an even function as cos(-x) = -cos(x).


The subject of a sentence cannot be a noun clause true or false?

False. A noun clause can serve as the subject of a sentence. Noun clauses can function as subjects, objects, or complements in a sentence.


Is odd numbers cannot be composite true or false?

False