MCQ Single Best Answer Not Set

Qনিচের কোনটি Preprocessor Directive?

ID: #24887 SEMESTER – I - COMS - Unit – 3 Introduction to C: Basic Structure 3 views
Question Info
#24887Q 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 include
  • B #include
  • C printf
  • D scanf
Correct Answer: Option B

Explanation

Preprocessor Directive হলো এমন নির্দেশ যা Compiler-এর আগে কাজ করে।

#include ব্যবহার করে Header File Program-এ যুক্ত করা হয়।

#include

এখানে stdio.h নামের Header File যুক্ত করা হয়েছে যাতে Input ও Output Function ব্যবহার করা যায়।

উদাহরণ:

#include

int main()
{
    printf("Hello");
}

এখানে:

  • printf() → Output Function
  • scanf() → Input Function
  • #include → Preprocessor Directive

Share This Question

Challenge a friend or share with your study group.