Which of the following operators could be overloaded?
A) Size of  
B) +
C) +=
D) ::

1 Answer

Answer :

B) +

Related questions

Description : Some of the C++ operators cannot overloaded which are i) Member access operators (. And .*) ii) Conditional operator (? :) iii) Scope resolution operator (: :) iv) Size operator (sizeof) A) only i, ii and iii B) only ii, iii and iv C) only ii and iv D) All i, ii, iii and iv

Last Answer : D) All i, ii, iii and iv

Description : State True or False. i) While overloading operators new operator can be overloaded. ii) The binary operator such as +, -, * and must explicitly return a value. A) True, True B) True, False C) False, True D) False, False

Last Answer : C) False, True

Description : The friend functions are used in situations where A) We want to exchange data between classes B) We want to have access to unrelated classes C) Dynamic binding is required D) We want to create versatile overloaded operators.

Last Answer : A) We want to exchange data between classes

Description : Which of the following operators cannot be overloaded in C+ + ? (A) * (B) += (C) == (D) ::

Last Answer : (D) ::

Description : Which of the following operators cannot be overloaded in C/C++? (1) Bitwise right shift assignment (2) Address of (3) Indirection (4) Structure reference

Last Answer : Answer: 4

Description : Which of the following operates cannot be overloaded? i) Size of operator (sizeof) ii) Scope resolution Operator iii) Conditional operator (?:) iv) Assignment Operator (=) A) i, ii, iii only B) ii, iii, iv only C) i, iii, iv only D) all i, ii, iii, iv

Last Answer : A) i, ii, iii only

Description : What operators cannot be overloaded?

Last Answer : =, ., ?:, ->, new, is, sizeof, typeof  

Description : Can assignment operators be overloaded directly?

Last Answer : No

Description : In C# which of the operators cannot be overloaded  A) ! B) = C) + D) all of the above

Last Answer : In C# which of the operators cannot be overloaded  B) =

Description : Choose the correct remarks.  (1) C++ allows any operator to be overloaded (2) Some of the existing operators can’t be overloaded (3) Operator precedence can be changed (4) All of these

Last Answer : D

Description : Methods can be overloaded with a difference only in the type of the return value .. A) Not supported B) False C) True D) None of the above

Last Answer : B) False

Description : Which of the following differentiates between overloaded functions and overridden functions ? (A) Overloading is a dynamic or runtime binding and overridden is a static or compile time binding. ... function overloading, while redefining a function in a friend class is called function overriding.

Last Answer : (B) Overloading is a static or compile time binding and overriding is dynamic or runtime binding.

Description : Which of the following is incorrect in C++ ? (A) When we write overloaded function we must code the function for each usage. (B) When we write function template we code the function only once. (C) It is difficult to debug macros (D) Templates are more efficient than macros

Last Answer : (D) Templates are more efficient than macros 

Description : Which one of the following is correct for overloaded functions in C++? (1) Compiler sets up a separate function for every definition of function. (2) Compiler does not set up a ... functions cannot handle different types of objects. (4) Overloaded functions cannot have same number of arguments.

Last Answer : Answer: 1

Description : What are postfix and prefix operators?

Last Answer : A: Both postfix and prefix operators change (increase or decrease) the value of a variable by 1. In postfix, the old value of the variable is first used and then the variable is updated to the new ... , the value of the variable is first updated to the new value and then this new value is used.

Description : When the operators are having the same priority, they are evaluated from ................. ............. in the order they appear in the expression. A) right to left B) left to right C) any of the order D) depends on compiler

Last Answer : B) left to right

Description : What arithmetic operators cannot be used with strings ? a) + b) * c) – d) All of the mentioned

Last Answer : c) –

Description : Science bases its estimation of the size of a product on a) Files (Fi), Flows (Fl) and Processes (Pr) b) Lines of Code (kLOC) c) Function Points (FP) d) operands and operators e) Feature Points (FeP).

Last Answer : d) operands and operators

Description : Are corporations overloaded with useless bureaucrats?

Last Answer : answer:I think logic does not dictate reality. Here’s something for you… http://en.wikipedia.org/wiki/Peter_Principle :)

Description : Which of the following statements are true of a patient with hyperglycemia and hyponatremia? A. The sodium concentration must be corrected by 5 mEq. per 100 mg. per 100 ml. elevation in blood ... . E. Early in treatment adequate urine output is a reliable measure of adequate volume resuscitation.

Last Answer : Answer: D DISCUSSION: Each 100-mg. per 100 ml. elevation in blood glucose causes a fall in serum sodium concentration of approximately 2 mEq. per liter. Excess serum glucose ... correction of the patient's associated acidosis produce movement of potassium ions into the intracellular compartment

Description : Which of the listed procedures is the best way to tell if a motor has become overloaded? A. Measure the current flow and compare it with the motor full load current flow as shown on the nameplate. ... Watch for telltale signs of smoke coming from the motor. D. Periodic opening of the O/L relay coil

Last Answer : Answer: A

Description : If field excitation is suddenly lost to an alternator operating in parallel, that alternator will _____________. A. supply excessive current to the bus B. operate at the same load, but with reduced voltage C. lose its load and tend to overspeed D. become overloaded and slow down

Last Answer : Answer: C

Description : How will a molded-case circuit breaker react after it has tripped, as a result of an overloaded circuit? A. The breaker will trip again if immediately reset. B. The breaker handle will lock in ... down. D. The breaker handle cannot be moved to the OFF position until the thermal element cools down.

Last Answer : Answer: A

Description : A circuit breaker and a fuse have a basic similarity in that they both _____________. A. can be reset to energize the circuit B. should open the circuit when overloaded C. will burn out when an over current flow develops D. all of the above

Last Answer : Answer: B

Description : Why the electric motor of a fan with backward curved blades is never got overloaded under any condition ?

Last Answer : The maximum power is consumed at about 70% of maximum flow in case’of fan with backward blades. For higher flow, power consumption gets lower.

Description : If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

Last Answer : Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.

Description : What are the different ways a method can be overloaded?

Last Answer : Different parameter data types, different number of parameters, different order of parameters.

Description : What is an overloaded method?

Last Answer : An overloaded method has multiple signatures that are different. 

Description : If a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?

Last Answer : Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.

Description : What are the different ways a method can be overloaded?

Last Answer : Different parameter data types, different number of parameters, different order of parameters.

Description : If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor? 

Last Answer : Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class. 

Description : Truly effective communication: 1. Depends on using multiple channels  2. Depends on selecting the right method for each message and avoiding duplication, since  everyone is overloaded with information  3. ... misunderstood  4. Can only be achieved by communication professional  5. a, b and c

Last Answer : 5. a, b and c

Description : Define what are the different ways a method can be overloaded?

Last Answer : Different parameter data types, different number of parameters, different order of parameters.

Description : Can functions be overloaded ?

Last Answer : Yes.

Description : If the motor is overloaded, then the magnitude of ‘back emf’” a. Increases b. Decreases c. Constant d. Becomes zero

Last Answer : Increases

Description : Why should Dry-Type Transformers never be overloaded?

Last Answer : Overloading of a transformer results in excessive temperature. This excessive temperature causes overheating which will result in rapid deterioration of the insulation and cause complete failure of the transformer coils.

Description : Write a program which implement the concept of overloaded constructor.

Last Answer : #include #include class integer { int m,n; public: integer() { m=0; n=0; } //default constructor 1 integer(int a, int b) { m=a; n=b; } //Parameterized constructor 2 integer(integer &i) { m=i.m; n=i.n; } //copy constructor 3 }; void display() { cout

Description : What do you mean by overloaded constructor?

Last Answer : When more than one constructor function is defined in a class, it is referred as overloaded constructor. Each overloaded constructor function is invoked with respect to arguments pass in the function call.

Description : Explain the concept of overloaded constructor in a class with suitable example.

Last Answer : Overloaded constructor: When more than one constructor function is defined in a same class then it is called as overloaded constructor. All constructors are defined with the same name as ... first constructor does not accept any argument and the second constructor accepts two integer arguments.

Description : The Network is overloaded with enormous data sent by many computers within the network. The inability of the network to deliver the data is termed as __________ . (1) Access control (2) Congestion (3) Error propagation (4) Deadlock

Last Answer : Congestion

Description : What is the purpose of Ctrl + I shortcut key in MS - Word: a) It converts selected text into the next larger size of the same font. b) It applies the Italic formatting to the selected text. c) It makes the selected text bold d) It adds a line break to the document. e) None of The Above

Last Answer : b) It applies the Italic formatting to the selected text.

Description : Float a[15], what is the size of array? A) 17 B) 14 C) 15 D) 16

Last Answer : 16

Description : State true of false. i) With paging, each process is divided into relatively small, fixed-size pages. ii) Segmentation provides for the use of pieces of varying size. A) Partition management B) Memory management C) Disk management D) All of the above

Last Answer : B) Memory management

Description : What will be the value of top, if there is a size of stack STACK_SIZE is 5 A) 5 B) 6 C) 4 D) None

Last Answer : C) 4

Description : Maximum font size in HTML is ........... A) 6 B) 7 C) 5 D) 8

Last Answer : B) 7

Description : Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use? a) d.size() b) len(d) c) size(d) d) d.len()

Last Answer : b) len(d)

Description : A UNIX file system has 1 KB block size and 4-byte disk addresses. What is the maximum file size if the inode contains ten direct block entries, one single indirect block entry, one double indirect block entry and one triple indirect block entry? (A) 30 GB (B) 64 GB (C) 16 GB (D) 1 GB

Last Answer : (C) 16 GB

Description : Images tend to be very large collection of data. The size of memory required for a 1024 by 1024 image in which the colour of each pixel is represented by a n-bit number, (in an 8 bit machines) is (A) n × 8 MB (B) n / 8 MB (C) (1024 × 1024) / 8 MB (D) 1024 MB

Last Answer : (B) n / 8 MB