“सी मे डेटा टाइप क्या है – What is data type in c in hindi ?” Hello दोस्तों- आज इस पोस्ट में आपको सी मे डेटा टाइप क्या है – What is data type in c hindi ? को पढ़ेंगे , इस पोस्ट को आप पूरा पढ़िए. इस article को बहुत ही आसान और सरल भाषा में लिखा गया है. यह article आपके exam के लिए बहुत उपयोगी साबित होगी. जो छात्र परीक्षा की तैयारी रहे हैं वो सभी इस article (सी मे डेटा टाइप क्या है – What is data type in c in hindi ?) की मदद से आप सभी आसानी से हिंदी भाषा में सीख सकते हैं|
सी मे डेटा टाइप क्या है – What is data type in c in hindi ?

परिचय(Introduction)
“सी मे डेटा टाइप क्या है – What is data type in c in hindi ?”- data type in सी प्रोग्रामिंग (c programming) language में डेटा टाइप की महत्वपूर्ण भूमिका होती है, क्योंकि डेटा टाइप निर्धारित करता है कि एक वेरिएबल किस प्रकार की जानकारी को संग्रह (store) करेगा और उसे कैसे उपयोग करेगा। यह सुनिश्चित करता है कि प्रोग्राम ठीक से काम करता है और सही परिणाम प्रदान करता है। डेटा टाइप आपको विभिन्न डेटा वैल्यूज़ को स्टोर और प्रोसेस करने की अनुमति देता है।
डेटा क्या है?(What is Data?)
डेटा किसी भी प्रकार की जानकारी को दर्शाने वाले संकेतों का समूह होता है। इसे प्रोग्राम में संगठित करने के लिए डेटा टाइप का उपयोग किया जाता है।
सी डेटा प्रकार क्या है?(What is C data type?)
सी मे डेटा टाइप क्या है – What is data type in c in hindi ?- डेटा टाइप C में एक वेरिएबल के डेटा के प्रकार को Specified करता है। यह डेटा के प्रकार के अनुसार उसे मेमोरी में कैसे स्टोर करना है और इसके साथ कैसे काम करना है का निर्देशन करता है। सी में विभिन्न प्रकार के डेटा टाइप्स होते हैं जैसे: integers, floating-point numbers, characters, और booleans। प्रत्येक डेटा टाइप की अपनी विशेषताएं होती हैं जो उन्हें अन्य डेटा टाइप्स से अलग करती हैं।
सी प्रोग्रामिंग में डेटा प्रकार का महत्व(Importance of data types in C programming)
डेटा टाइप्स का उपयोग सी प्रोग्रामिंग में कई तरह के लिए महत्वपूर्ण होता है। कुछ मुख्य कारणों की वजह से डेटा टाइप्स अहमियत रखते हैं:
- प्रोग्राम में सही तरीके से डेटा को संग्रहित करने की अनुमति देते हैं।
- विभिन्न डेटा वैल्यूज़ को एक साथ संग्रहित करने में मदद करते हैं और उन्हें प्रोसेस करने की अनुमति देते हैं।
- सही परिणाम प्रदान करने के लिए अरिथमेटिक और अन्य ऑपरेशन्स को सही तरीके से व्यवस्थित करते हैं।
सी मे डेटा टाइप क्या है – What is data type in c in hindi ?
1. पूर्णांक डेटा प्रकार(Integer data types)
Integers नंबर्स को प्रतिष्ठित करते हैं और उन्हें पूर्णांक कहा जाता है। इसमें कुछ प्रमुख डेटा टाइप्स हैं:
int: int पूर्णांकों को संग्रहित करने के लिए, जो मानों को 32 बिट मेमोरी में स्टोर करता है।
Example
#include <stdio.h> int main() { int age = 25; int temperature = 28; printf(“Age: %d\n”, age); printf(“Temperature: %d\n”, temperature); return 0; } |
Age: 25 Temperature: 28 |
short: छोटे पूर्णांकों को संग्रहित करने के लिए, जो 16 बिट मेमोरी में स्टोर करता है।
Example
#include <stdio.h> int main() { short num1 = 10; short num2 = 20; printf(“Number 1: %hd\n”, num1); printf(“Number 2: %hd\n”, num2); return 0; } |
Number 1: 10 Number 2: 20 |
long: बड़े पूर्णांकों को संग्रहित करने के लिए, जो 32 बिट या 64 बिट मेमोरी में स्टोर करता है, आपके सिस्टम पर निर्भर करता है।
Example
#include <stdio.h> int main() { long population = 7896541230L; long distance = 123456789012345L; printf(“Population: %ld\n”, population); printf(“Distance: %ld\n”, distance); return 0; } |
Population: 7896541230 Distance: 123456789012345 |
2. फ़्लोटिंग-पॉइंट डेटा प्रकार(Floating-point data types)
Floating-point डेटा टाइप्स डेसिमल नंबर्स को प्रतिष्ठित करते हैं। इसमें कुछ प्रमुख डेटा टाइप्स हैं:
float Data Type a single precision floating-point number जो 32 बिट मेमोरी में स्टोर करता है।
Example
#include <stdio.h> int main() { float weight = 68.5; float height = 1.75; printf(“Weight: %.2f\n”, weight); printf(“Height: %.2f\n”, height); return 0; } |
Weight: 68.50 Height: 1.75 |
double: एक डबल प्रेसीजन फ्लोटिंग-प्वाइंट नंबर, जो 64 बिट मेमोरी में स्टोर करता है।
Example
#include <stdio.h> int main() { double pi = 3.14159; double radius = 5.5; double area = pi * radius * radius; printf(“Radius: %.2f\n”, radius); printf(“Area: %.2f\n”, area); return 0; } |
Radius: 5.50 Area: 94.98 |
long double: एक लॉन्ग डबल प्रेसीजन फ्लोटिंग-प्वाइंट नंबर, जो 80 बिट या इससे अधिक मेमोरी में स्टोर करता है।
Example
#include <stdio.h> int main() { long double pi = 3.141592653589793238462643383279502884L; long double radius = 5.5; long double circumference = 2 * pi * radius; printf(“Radius: %.2Lf\n”, radius); printf(“Circumference: %.2Lf\n”, circumference); return 0; } |
Radius: 5.50 Circumference: 34.56 |
3. कैरेक्टर डेटा प्रकार (Character data type)
Character डेटा टाइप एकल अक्षरों को प्रतिष्ठित करता है। इसमें एक प्रमुख डेटा टाइप है:
char: एक अक्षर को संग्रहित करने के लिए, जो 8 बिट मेमोरी में स्टोर करता है।
Example
#include <stdio.h> int main() { char grade = ‘A’; char letter = 65; printf(“Grade: %c\n”, grade); printf(“Letter: %c\n”, letter); return 0; } |
Grade: A Letter: A |
4. बूलियन डेटा प्रकार(Boolean data type)
Boolean डेटा टाइप सच्चाई या गलती को प्रतिष्ठित करता है। इसमें एक प्रमुख डेटा टाइप है:
bool: सच्चाई को प्रतिष्ठित करने के लिए, जो सामान्यतः 1 बिट मेमोरी में स्टोर करता है।
Example
#include <stdio.h> #include <stdbool.h> int main() { bool isRaining = true; bool isSunny = false; printf(“Is it raining? %s\n”, isRaining ? “Yes” : “No”); printf(“Is it sunny? %s\n”, isSunny ? “Yes” : “No”); return 0; } |
Is it raining? Yes Is it sunny? No |
सी मे डेटा टाइप क्या है – What is data type in c in hindi ?
5. सारणी डेटा प्रकार(Array Data Type)
Array एक संगठित डेटा संरचना है जो समान प्रकार के डेटा के संग्रह को संदर्भित करती है। इसके वाणिज्यिक नाम होता है और सभी आइटम एक ही डेटा टाइप का होते हैं।
Example
#include <stdio.h> #define SIZE 5 int main() { // Declaring an array of integers int numbers[SIZE]; // Initializing the array with values for (int i = 0; i < SIZE; i++) { numbers[i] = i + 1; } // Accessing array elements printf(“Array elements: “); for (int i = 0; i < SIZE; i++) { printf(“%d “, numbers[i]); } printf(“\n”); // Modifying array elements numbers[2] = 10; // Accessing and printing modified element printf(“Modified element: %d\n”, numbers[2]); // Calculating the sum of array elements int sum = 0; for (int i = 0; i < SIZE; i++) { sum += numbers[i]; } printf(“Sum of array elements: %d\n”, sum); return 0; } |
Array elements: 1 2 3 4 5 Modified element: 10 Sum of array elements: 25 |
6.सूचक डेटा प्रकार(Pointer Data Type)
Pointer एक वेरिएबल है जो किसी अन्य वेरिएबल का पता रखता है। यह वेरिएबल के मान तक पहुंचने की अनुमति देता है और उसे संशोधित करने की अनुमति भी देता है।
Example
#include <stdio.h> int main() { int num = 10; int *ptr; // Declare a pointer variable ptr = # // Assign the address of num to the pointer printf(“Value of num: %d\n”, num); printf(“Address of num: %p\n”, &num); printf(“Value of ptr: %p\n”, ptr); printf(“Dereferenced value of ptr: %d\n”, *ptr); *ptr = 20; // Modify the value of num using the pointer printf(“Modified value of num: %d\n”, num); return 0; } |
Value of num: 10 Address of num: 0x7ffee562a9c4 Value of ptr: 0x7ffee562a9c4 Dereferenced value of ptr: 10 Modified value of num: 20 |
7.संरचना डेटा प्रकार(Structure Data Type)
Structure एक संगठित डेटा संरचना है जो विभिन्न प्रकार के डेटा के गठन को संग्रहीत करती है। इसमें वेरिएबल के मानों को संगठित रूप में संग्रहीत किया जाता है।
Example
#include <stdio.h> // Define a struct for representing a person struct Person { char name[50]; int age; float height; }; int main() { // Declare and initialize a struct variable struct Person person1 = {“John Doe”, 25, 1.75}; // Accessing and printing struct members printf(“Person’s Name: %s\n”, person1.name); printf(“Person’s Age: %d\n”, person1.age); printf(“Person’s Height: %.2f\n”, person1.height); // Modifying struct members person1.age = 30; person1.height = 1.80; // Accessing and printing modified struct members printf(“Modified Age: %d\n”, person1.age); printf(“Modified Height: %.2f\n”, person1.height); return 0; } |
Person’s Name: John Doe Person’s Age: 25 Person’s Height: 1.75 Modified Age: 30 Modified Height: 1.80 |
8.यूनियन डेटा प्रकार(Union Data Type)
Union एक संगठित डेटा संरचना है जो एक ही मेमोरी स्थान पर विभिन्न प्रकार के डेटा को संग्रहीत करती है। Union में सभी वेरिएबल्स एक ही मेमोरी स्थान का हिस्सा साझा करती हैं।
Example
#include <stdio.h> // Define a union for representing a variable that can hold different types union Data { int intValue; float floatValue; char stringValue[20]; }; int main() { // Declare and initialize a union variable union Data data; // Accessing and modifying union members data.intValue = 10; printf(“Value stored in intValue: %d\n”, data.intValue); data.floatValue = 3.14; printf(“Value stored in floatValue: %.2f\n”, data.floatValue); strcpy(data.stringValue, “Hello”); printf(“Value stored in stringValue: %s\n”, data.stringValue); // Accessing union members after modification printf(“Modified value in intValue: %d\n”, data.intValue); printf(“Modified value in floatValue: %.2f\n”, data.floatValue); printf(“Modified value in stringValue: %s\n”, data.stringValue); return 0; } |
Value stored in intValue: 10 Value stored in floatValue: 3.14 Value stored in stringValue: Hello Modified value in intValue: 1116995584 Modified value in floatValue: 3.14 Modified value in stringValue: Hello |
9.गणना डेटा प्रकार(Enumeration Data Type)
Enumeration डेटा टाइप विभिन्न मानों की सीमा द्वारा परिभाषित होता है। इससे बेहतर संबंधित डेटा को संग्रहीत करने के लिए इस्तेमाल किया जा सकता है।
Example
#include <stdio.h> // Define an enumeration for representing days of the week enum Weekday { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday }; int main() { // Declare a variable of the Weekday enumeration enum Weekday today; // Assign a value from the enumeration today = Wednesday; // Perform operations based on the value of today switch (today) { case Monday: printf(“Today is Monday.\n”); break; case Tuesday: printf(“Today is Tuesday.\n”); break; case Wednesday: printf(“Today is Wednesday.\n”); break; case Thursday: printf(“Today is Thursday.\n”); break; case Friday: printf(“Today is Friday.\n”); break; case Saturday: printf(“Today is Saturday.\n”); break; case Sunday: printf(“Today is Sunday.\n”); break; default: printf(“Invalid day.\n”); break; } return 0; } |
Today is Wednesday. |
10. शून्य डेटा प्रकार(Void Data Type)
वॉइड (void) एक विशेष डेटा टाइप है जिसे सी प्रोग्रामिंग में उपयोग किया जाता है। शब्द “वॉइड” का शाब्दिक अर्थ होता है “खाली” या “रिक्त”। इस डेटा टाइप का उपयोग करके हम डेटा को संग्रहित करने की आवश्यकता नहीं होती है।
वॉइड (void) डेटा टाइप का उपयोग विभिन्न प्रकार के प्रोग्रामिंग स्थितियों में किया जाता है। इसका प्रयोग फ़ंक्शन डेक्लेरेशन (declaration) और प्रोटोटाइप (prototype) में किया जाता है जब किसी फ़ंक्शन को कोई रिटर्न मान नहीं होता है।
Example
#include <stdio.h> // Function that takes no arguments and returns no value void greet() { printf(“Hello, World!\n”); } // Function that takes an integer argument and returns no value void printNumber(int num) { printf(“The number is: %d\n”, num); } int main() { greet(); // Call the greet function int num = 10; printNumber(num); // Call the printNumber function with an argument return 0; } |
Hello, World! The number is: 10 |
Conclusion
इस लेख में हमने सी मे डेटा टाइप क्या है – What is data type in c in hindi ? के बारे में जानकारी प्राप्त की। डेटा टाइप्स प्रोग्राम में डेटा को संग्रहित करने और प्रोसेस करने के लिए महत्वपूर्ण हैं। हमने प्रमुख डेटा टाइप्स के बारे में विस्तृत जानकारी प्रदान की है और इनके साइज़ और रेंज के बारे में भी बताया है। अब आपको सी में डेटा टाइप्स की पहचान हो गई है और आप उन्हें सही तरीके से उपयोग कर सकते हैं।
आज के इस आर्टिकल मे हमने सी मे डेटा टाइप क्या है – What is data type in c in hindi ? के बारे मे विस्तार से जाना आशा है की यह ARTICAL आप के लिए HELPFUL रहा होगा | अगर यह ARTICAL आप को पसंद आया हो तो इसे अपने दोस्तों के साथ SHARE जरूर करे | आप हमे COMMENT के माध्यम से सुझाव दे सकते है आप हमे Email-id studentinsidelibarary013@gmail.com पर अपने सुझाव दे सकते है |
FAQs
- सी में कितने प्रकार के डेटा टाइप्स होते हैं? सी में मुख्यतः चार प्रकार के डेटा टाइप्स होते हैं: पूर्णांक, फ्लोटिंग-प्वाइंट, अक्षर, और बूलियन।
- सी में int डेटा टाइप की साइज़ क्या है? int डेटा टाइप सामान्यतः 4 बाइट (32 बिट) की साइज़ होती है।
- क्या सी में डेटा टाइप की रेंज वैश्विक होती है? नहीं, सी में डेटा टाइप की साइज़ और रेंज सिस्टम पर निर्भर करती है। यह विभिन्न सिस्टमों पर अलग-अलग हो सकती है।
- कौन-सा डेटा टाइप सच्चाई को प्रतिष्ठित करता है सी में? सी में bool डेटा टाइप सच्चाई को प्रतिष्ठित करता है।
- क्या सी में डेटा टाइप बदला जा सकता है? हां, सी में आप डेटा टाइप को बदल सकते हैं, जैसे कि पूर्णांक को फ्लोटिंग-प्वाइंट में और उम्र को अक्षर में बदलना।
सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?
सी मे डेटा टाइप क्या है – What is data type in c in hindi ?, सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?, सी मे डेटा टाइप क्या है – What is data type in c in hindi ?, सी मे डेटा टाइप क्या है – What is data type in c in hindi ?, सी मे डेटा टाइप क्या है – What is data type in c in hindi ?
, सी मे डेटा टाइप क्या है – What is data type in c in hindi ?, सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?,सी मे डेटा टाइप क्या है – What is data type in c in hindi ?
Tsigrelis C what is priligy tablets The hemodynamic effects of some drugs in pregnancy are well described
Papadopoulos, J, Smithburger, PL order cheap cytotec for sale I think of him often, will always be in my heart, and know how hard it is for you
I love it whenever people come together and share ideas.
Great blog, stick with it!
Visit my blog post :: lipozem buy
If some one needs expert view on the topic of running
a blog then i propose him/her to pay a visit this blog, Keep up the nice work.
Feel free to surf to my webpage: pronerve 6 reviews and complaints
биржа аккаунтов https://birzha-akkauntov-online.ru/
купить аккаунт продажа аккаунтов соцсетей
купить аккаунт с прокачкой гарантия при продаже аккаунтов
маркетплейс аккаунтов https://ploshadka-prodazha-akkauntov.ru/
аккаунты с балансом маркетплейс аккаунтов соцсетей
купить аккаунт https://kupit-akkaunt-top.ru/
купить аккаунт с прокачкой маркетплейс аккаунтов
Account Trading Platform Buy and Sell Accounts
Website for Buying Accounts Accounts market
Account Sale Account Buying Service
Find Accounts for Sale https://buyaccountsmarketplace.com
Verified Accounts for Sale Online Account Store
Secure Account Purchasing Platform Sell accounts
Account trading platform Account Acquisition
Social media account marketplace Account Selling Platform
Social media account marketplace Gaming account marketplace
Account Catalog Accounts marketplace
gaming account marketplace account selling service
guaranteed accounts account market
account trading buy and sell accounts
account trading service account market
I got this site from my buddy who shared with me regarding this site and now this
time I am browsing this website and reading very
informative articles or reviews at this place.
Feel free to visit my blog post: nordvpn coupons inspiresensation
sell pre-made account account trading platform
secure account sales account marketplace
account catalog account trading service
sell accounts account trading
account catalog account selling platform
sell pre-made account account trading service
secure account purchasing platform account exchange service
account sale online account store
database of accounts for sale accounts market
account selling service account sale
sell account sell pre-made account
accounts marketplace account sale
account market social media account marketplace
account purchase account buying service
account trading platform guaranteed accounts
profitable account sales accounts for sale
online account store account store
website for buying accounts verified accounts for sale
verified accounts for sale verified accounts for sale
website for selling accounts verified accounts for sale
ready-made accounts for sale account trading platform
social media account marketplace account exchange
account trading platform account trading platform
350fairfax nordvpn coupons
Hi there, after reading this remarkable article i am also delighted to share my knowledge here with colleagues.