Lesson 1 of 23

আপনার প্রথম C প্রোগ্রাম

7 min 20 XP

C অনেক ভাষার জননী: Linux ও Windows-এর মতো operating systems এবং অসংখ্য embedded device এতেই লেখা। প্রতিটি C প্রোগ্রাম main() function থেকে শুরু হয়। printf() স্ক্রিনে print করে এবং এর জন্য #include <stdio.h> লাগে।

Example: edit me and press Run

Output Loading C (first time takes a few seconds)
Press Run to see the result here.

\n মানে নতুন লাইন; এটি না থাকলে পরের printf একই লাইনে চলতে থাকে। প্রতিটি statement semicolon দিয়ে শেষ হয়, এবং return 0; system-কে জানায় প্রোগ্রাম সফলভাবে শেষ হয়েছে।

Example: edit me and press Run

Output Loading C (first time takes a few seconds)
Press Run to see the result here.

C case-sensitive: printf চলে, Printf চলে না। Compile error দেখলে আগে সেই line number-এ বাদ পড়া semicolon খুঁজুন।

Challenge

+20 XP

এই দুটি লাইন হুবহু print করুন: Hello C I can code!

Output Loading C (first time takes a few seconds)
Press Run to see the result here.