Skip to main content

Posts

Showing posts from August, 2023

Dart Keyword -

Dart is an object-oriented, class-based programming language that's used for building web, server, desktop, and mobile applications. The Dart programming language has a number of keywords that have special meanings. Some of these include: abstract: Used before a class to define it as abstract, which means it can't be instantiated, only inherited. as: Used for type casting. assert: Used for debugging. It disrupts normal execution if a boolean condition is false. async, await: Used to denote asynchronous operations. break: Used to exit from a loop or switch-case statement. case, default: Used in switch-case statements. class: Used to define a class. const: Denotes that a variable is a compile-time constant. continue: Used to skip the rest of the current loop iteration and move to the next one. dynamic: Denotes that the type of the variable is dynamic and can change. else, if: Used for conditional statements. enum: Used to define an enumeration. extends: Used for class inheritance...

void main কি?

 "void main" একটি কম্পিউটার প্রোগ্রামিং মড জনিত ডেক্লারেশন এবং স্ট্রাকচার। এটি প্রোগ্রামের মৌলিক ভাগ যা প্রোগ্রামের এক্সিকিউশন শুরু হওয়ার পরে সব কাজ প্রয়োজনীয় রক্ষণাবেক্ষণ করে। "void" একটি ডেটা টাইপ হিসেবে ব্যবহৃত হয়, যা মূলত কোন রিটার্ন ভ্যালু নেই বোঝায়। "void" মূলত নিশ্চিত করে যে ফাংশনটি কোন ভ্যালু রিটার্ন করবে না। "main" হলো প্রোগ্রামের মূল ফাংশন, যা প্রোগ্রামের এক্সিকিউশন শুরু হওয়ার পরে সম্পাদিত হয়। এটি একটি রেটার্ন ভ্যালু নেয়, যা প্রোগ্রামের সফলভাবে কমপ্লিট হওয়ার পরে প্রদর্শিত হয়। মাইন ফাংশন প্রোগ্রামের ক্রিয়াকলাপ করে এবং যা অন্যান্য ফাংশন এবং স্টেটমেন্টগুলি কল করতে পারে। একটি সাধারণ সি প্রোগ্রাম এটি দেখায়: c Copy code # include <stdio.h> void main () { printf ( "Hello, World!\n" ); } উপরের প্রোগ্রাম একটি "Hello, World!" বার্তা প্রিন্ট করবে এবং তা প্রোগ্রামের সফলভাবে কমপ্লিট হওয়ার পরে আউটপুট দেখাবে। মাইন ফাংশন প্রোগ্রামের প্রথম এবং মুখ্য ফাংশন হিসেবে ব্যবহার করা হয়। এই প্রোগ্রামটি সি প্রোগ্রাম...