Computer Fundamental MCQs - Programming and Languages

Computer Fundamental MCQs
Computer Fundamental MCQs - Programming and Languages

सी प्लस प्लस भाषा में स्क्रीन पर टेक्स्ट प्रदर्शित करने के लिए किस कीवर्ड की आवश्यकता पड़ती है?


Options:

  1. cin
  2. cout
  3. cdisplay
  4. cpress

Right Answer: cout

सी प्लस प्लस में स्क्रीन पर कुछ भी प्रदर्शित करने के लिए cout ऑब्जेक्ट का प्रयोग किया जाता है, जिसे इन्सर्शन ऑपरेटर << के साथ लिखा जाता है, जैसे cout << "Hello";। यहाँ cout का अर्थ है console output और यह मानक आउटपुट स्ट्रीम को दर्शाता है। इसके विपरीत की-बोर्ड से डाटा पढ़ने के लिए cin ऑब्जेक्ट और एक्सट्रैक्शन ऑपरेटर >> का उपयोग होता है। इन दोनों को प्रयोग करने के लिए प्रोग्राम में iostream हेडर फाइल जोड़नी पड़ती है।

This question is part of Computer Fundamental MCQs - Programming and Languages, which has 18 practice questions with answers.

Recent questions from every quiz

Latest Articles

Published: | Last Updated:
Deepak - Educational Content Creator

Written by Deepak

Educational Content Creator

I am an educational content creator dedicated to making learning simple, engaging, and accessible for students preparing for competitive exams. He specializes in creating high-quality study materials, including notes, multiple-choice questions (MCQs), previous year question papers, practice tests, and exam-oriented resources.

Experience: 10+ years in Education and Competitive Exam Content Creator