In C++, << operator used for shifting bits can also be used for :
C++ में बिट खिसकाने वाले ऑपरेटर << को और किस कार्य में प्रयोग किया जा सकता है ?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Displaying valuesमान दर्शाने में
Explanation
<< is overloaded as the insertion operator for output: cout << x displays values.
<< को आउटपुट के लिए ओवरलोड किया गया है: cout << x मान दिखाता है।
More Programming Concepts & Python questions
- Which of the following is the scope resolution operator in C++ language ?
- Inheritance allows the following in C++ program :
- A generic function can be created using the following :
- Consider the following C++ statements : int x; int& y = x; The statements y = 25; x = 2*x + 30; update the value of x and y as :
- Which symbol should be used to pass the object by reference in C++ ?
- What is meant by multiple inheritance ?