Which data type is used to store whole numbers?

A float

B int

C char

D string

Solution

Correct Answer: Option B

- প্রোগ্রামিংয়ে পূর্ণসংখ্যা (যেমন: 1, 10, -50) স্টোর করার জন্য int (Integer) ডেটা টাইপ ব্যবহার করা হয়।

অন্য অপশনগুলোর মধ্যে,
- float দশমিক সংখ্যার জন্য,
- char একটি অক্ষরের জন্য এবং
- string টেক্সট বা বাক্যের জন্য ব্যবহৃত হয়।

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions