
int, float, if, while Python uses def, class, return.int is a keyword but Int or INT can be used as identifiers.int - Integer data typefloat - Floating-point numberif - Conditional statementwhile - Loop controlreturn - Function returnপূর্ণসংখ্যা - Integer (Bengali equivalent)ভাসমান - Floating-pointযদি - If conditionযতক্ষণ - While loopফেরত - Return statementstudentNametotalScorecalculateAverageMAX_VALUE1student (starts with number)int (reserved keyword)my var (contains space)xyz (not descriptive)#define or const keyword. Example: #define PI 3.14159int age; or float salary;age = 25; or salary = 50000.0;#define MAX_SIZE 100
const float PI = 3.14159;
const int DAYS_IN_WEEK = 7;
#define সর্বোচ্চ_আকার 100
const float পাই = 3.14159;
const int সপ্তাহের_দিন = 7;
int, short, longfloat, double, long doublechar for letters, digits, and symbolsint age = 25;
float salary = 50000.50;
double pi = 3.14159265359;
char grade = 'A';
int বয়স = 25;
float বেতন = 50000.50;
double পাই = 3.14159265359;
char গ্রেড = 'A';
# and performs text substitution, file inclusion, and conditional compilation. Understanding pre-processor directives is essential for writing efficient and maintainable code.#include <stdio.h> for input/output functions#define MAX 100 defines a constant#include <stdio.h>
#define PI 3.14159
int main() {
float radius, area;
printf("Enter the radius: ");
scanf("%f", &radius);
area = PI * radius * radius;
printf("Area of circle: %.2f\n", area);
return 0;
}
#include <stdio.h>
#define পাই 3.14159
int main() {
float ব্যাসার্ধ, ক্ষেত্রফল;
printf("ব্যাসার্ধ লিখুন: ");
scanf("%f", &ব্যাসার্ধ);
ক্ষেত্রফল = পাই * ব্যাসার্ধ * ব্যাসার্ধ;
printf("বৃত্তের ক্ষেত্রফল: %.2f\n", ক্ষেত্রফল);
return 0;
}