MCQ Single Best Answer Not Set

Qনিচের কোনটি একটি সঠিক Type Declaration?

ID: #24886 SEMESTER – I - COMS - Unit – 3 Introduction to C: Basic Structure 2 views
Question Info
#24886Q ID
Not SetDifficulty
SEMESTER – I - COMS - Unit – 3 Introduction to C: Basic StructureTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A int 5a;
  • B float number;
  • C char #name;
  • D int float;
Correct Answer: Option B

Explanation

Type Declaration-এর মাধ্যমে Variable-এর Data Type ঘোষণা করা হয়।

Syntax:

data_type variable_name;

উদাহরণ:

float number;

এখানে:

  • float → Data Type
  • number → Variable Name

অন্যগুলো ভুল কারণ:

  • 5a → সংখ্যা দিয়ে শুরু হয়েছে
  • #name → Special Character ব্যবহার করা হয়েছে
  • float → এটি একটি Keyword

Share This Question

Challenge a friend or share with your study group.