In programming language, a memory location that can hold a value (changeable) is called _____?
پروگرامنگ لینگویج میں وہ میموری لوکیشن جو کسی ویلیو کو رکھ سکتی ہے اور بدل سکتی ہے، اسے کیا کہتے ہیں؟
- Constant
- Integer
- Variable
- None of these
Explanation
- A variable is a named memory location that can store data which may change during program execution.
- Used to hold values, perform calculations, and control program flow.
Examples in programming:
- int age = 25; → age is a variable storing 25
- float price = 99.99; → price is a variable storing 99.99
Last verified on 09-02-2026
Related MCQs
انکرپشن سے پہلے پیغام کی اصل قابلِ مطالعہ شکل کو کیا کہتے ہیں؟
- Ciphertext
- Plaintext
- Hashed text
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
متعلقہ ڈیٹا کے مجموعے کو کیا کہا جاتا ہے؟
- Database
- Software
- Hardware
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
اعلیٰ معیار کا سی اے ڈی سسٹم ڈرائنگ اور گرافکس پرنٹ کرنے کے لیے کس آلے کا استعمال کرتا ہے؟
- Digital plotter
- Digital picture
- Digital pixel
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر میں ہیش فنکشن کا بنیادی مقصد کیا ہے؟
- Data integrity verification and fast lookup
- Playing audio
- Increasing screen brightness
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایس ایس ڈی میں کس قسم کی میموری استعمال ہوتی ہے؟
- Magnetic memory
- Flash memory
- Optical memory
- None of these