Hello friends, today we are going to talk about “Data type in c in Hindi & types of operators in c language” So let’s get started.

Computer me rakhe huye saari information ko data kaha jaata hai, Image, video, audio and document ye sabhi data hai, Lakin C Programming language ek CUI (Character User Interface) Based language hoti hai.

Isiliye Inme ham data ke roop me audio, video aur images ko use nahi kar sakte hai, C language me keval text ka use kiya jaa sakta hai Aur isiliye c me alag-alag operations ko preform karne ke liye Data type ka use kiya jata hai.

3 Types Of Data type in c in Hindi

C language me Data type in c ko 3 bhago me baata jaa sakta hai, Joki is prakar hai.

 Data Types in C Language In Hidni

Basic Data Type

Aise data type joki compiler me predefined hote hai, Use basic data type kaha jata hai. Ex.- int, float, char.

int Integer ko int predefined data type kaha jaata hai, jiska use C programs me Whole Numbers ko store karne ke liye kiya jata hai.

Int memory me 2bytes ka space leta hai. it means iski range -32768………………….+32767 tak hoti hai. it means int data type 32767 se jyada bade numbers ko store nahi kar sakta hai…    int a=16;

float Yah integer ki tarah ek predefined data type hai but isme Dasmlav (12.111189) wale numbers ka use kiya jaata hai, ye memory me 4bytes ka space leta hai.  aur isme “.” ke aage 6 digits tak show hota h. float a=12.666666

Char Iska use C programming me kisi ek character ko store karne ke liye kiya jaata hai. Char memory me 1bytes ka space leta hai..   char name[15]

Derived Data Type

C programming language me Derived Data Type hote hai Jisme pahle se exist data type ka use karke ek naye data type ko create kiya jaata hai, Ex.- Array, Pointer.

User-defined Data Type

Aise Data type jo c programming me bina kisi other data type ki halp ke User dwara create kiye jaate hai Unhe User-defined data type kahte hai.

I think apka Data type in c in Hindi ka concept clear hua hoga aab chalte hai apne next concept ke per “types of operators in c language”  So let us get started.

Operator Ek symbol hota hai Joki compiler ke jariye kisi specific arithmetical And logical operations ko perform karne ke liye use kiya jata hai.

Ex.- c = a+b;

yaha per = aur + operators hai. aur operator ke saath use kiye jaane wale variable aur values ko operands kaha jata hai. it means a,b + operator ke operands hai aur c, (a+b) = operator ke operands hai.

operands ke aadhar per C language me operators ko 3 bhago me baata ja sakta hai, Joki is prakar hai.

Urary Operator

C programming me use hone wale aise operators jinke saath kewal ek operand ka use kiya jata hai unhe Urary operator kaha jata hai. Ex.- ++ , —

Binary Operator

Aise operators jinhe use karne ke liye 2 operands ki jarurat hoti hai unhe binary operators kaha jata hai. Ex.- +,-,*,/,%,<,>= Etc..

Jerrary Operator

C programming me only 1 jerrary operator hota hai iske liye 3 operands use kiye jate hai. Ex.- ?

Types of Operator in c based on Work

Kaam ke aadhar per Operators ko 8 Bahgo me bataa jaa sakta hai, Joki is prakar hai.

1. Arithmetic operators

C language me aise symbols jinka use arithmetic operators in c me perform karne ke liye kiya jata hai Unhe Arithmetic operator kaha jata hai.

Ex.-

+        addition

–         Subtraction

*        multiply

/        Division

%       Modulus

Ye Sabhi Arithmetic operators kahlate hai..

2. Relational Operators

Aise Symbols jinka use 2 aur 2 se jyada variables ke bich relation find karne ke liye kiya jata hai unhe relational operator kaha jata hai. inka use jyadater Conditional Statement me hota hai.

Ex.-

>     Greater then

<     less then

>=   Greater then or equal to

<=   Less then or equal to

==   equal to

!=    Not equal to

3. Logical operator

C programming me 2 ya 2 se jyada Wale statement ko Combine karne ke liye use kiye jaane Wale Symbol ko Logical Operator kaha jaata hai.

Ex.-

&&    AND

::       Or

!        Not

4. Conditional Operator

C programming me keval 1 hi conditional operator hota hai. jiska use program me condition apply karke Condition ke TRUE aur False hone per different operations ko perform karne ke liye hota hai, Ex.-  ? :

5. Assignment Operator

Assignment operatore ka use right side ke statement ko solve karke Left side me assign karne ke liye hota hai. iska use kisi variable ki values ko assign karne ke liye bhi kiya jaata hai, Ex.-  c = a+b;

yaha per ‘=’ ek assignment operator hai. jo ki ek aur b ki values ko add karke left side ‘c’ me assign kar deta hai.

6. increment/decrement operators

increment/decrement Operators ke saath only 1 operand ka use kiya jaata hai. increment apne operand ki value 1 increase kar deta hai jabki Decrement apne operand ki value ko 1 decrease kar deta hai. Ex.-

++       increment

—         decrement

7. Access Operators

C programming me 2 access operators hote hai. . (dot), -> (arrow)  inka use kisi user-defined data type ke variable ke dwara data types ke members ko access karne ke liye kiya jata hai.

8. Special operators

the operator in c programming me kuch special operation ko perform karne ke liye kuch special symbols ka use kiya jaata hai jinhe special operator kahte hai, Ex.- ,(comma).

Also Read: Let Us C Language In Hindi: Basic Structure, features & Example Programs

Also Read: Best Laptop Under 60000 Budget Ready To At 2021

Also Read: Functions Of Operating System In Hindi & It’s Types

Aaj ke liye bas itna hi aaj kaa article “Data type in c in Hindi & types of operators in c language” apke paas koi bhi question ho to aap comment kar sakte hai aur article acha laga ho to share karna naa bhule.

LEAVE A REPLY

Please enter your comment!
Please enter your name here