• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
How does C++ handle lexicographical string comparison?
  1. By length only
  2. By character ASCII values in order
  3. Randomly
  4. By reversing strings
Explanation
  • In C++, strings are compared lexicographically using the <, >, == operators.
  • Comparison proceeds character by character from left to right.
  • Each character is evaluated using its ASCII (or Unicode) value.
  • Related MCQs

    حکومتی امور میں ڈیپ سیک کے استعمال کا نقصان کیا ہے؟
    1. Faster decision making
    2. Data privacy and security risks
    3. High accuracy in data analysis
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    رینسم ویئر کیا ہے؟
    1. Search engine
    2. Type of malware
    3. Computer hardware
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    براؤزر کے پہلے صفحے کے نام سے جانا جاتا ہے؟
    1. Homepage
    2. Browser
    3. Cookie
    4. None
    اس سوال کو وضاحت کے ساتھ پڑھیں

    اینگلر کس چیز کا فریم ورک ہے؟
    1. Php
    2. javaScript.
    3. Python
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    وہ پروسیسر یونٹ جو کمپیوٹر کے تمام آپریشنز کو کنٹرول، ہم آہنگ اور ہدایات دیتا ہے، اسے کیا کہتے ہیں؟
    1. Cache memory
    2. Arithmetic unit
    3. Control unit
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    1 + 2 = ?



    All Rights Reserved © TestPointpk.com