Multiple Choice Not Set

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

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

Select All That Apply

Tick every correct option, then press Check Answer.

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

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.