info@avatto.com
+91-9920808017
41. When theĀ» operator is overloaded for input, one parameter that should be passed to the function is a
reference to istream
reference to ostream
copy to istream
copy to ostream
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
42. To overload a postfix ++ fir a Number class, an appropriate function header is
Number & Number :: operator ++ (Number & num)
number & Number :: operator ++ (int)
Number & Number :: operator ++()
Number :: operator ++ (Number & num).
43. If you use a + operator with a class and receive no error messages, then
you must have overloaded it
you may have overloaded it
you must not have overloaded it
+ cannot be used with classes.
44. When you want to perform file output, you have to use an
object that has already been instantiated
object you instantiate
either (a) or (b)
None of these
45. When you instantiate an of stream output file object, you
call its constructor
must give the file a name
must give the filename an extension
must not give the file a name
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login