# डेटा टाइप्स — C Programming Fundamentals: Pointers, Memory और Files

Source: https://www.skillbyai.com/hi/c/c-data-types

> char, int, float और double के sizes जानें, sizeof से मापें और overflow के आश्चर्य से बचें।

## मूल टाइप्स

`char` 1 बाइट · `int` 4 बाइट · `float` 4 बाइट · `double` 8 बाइट · `bool` `<stdbool.h>` से। मॉडिफ़ायर: `short`, `long`, `long long`, `unsigned`।

## साइज़ जाँचें

`sizeof` कंपाइल-टाइम पर बाइट बताता है।

```c
#include <stdio.h>
int main(void) {
    printf("int is %zu bytes\n", sizeof(int));
    return 0;
}
```

Output:

```
int is 4 bytes
```

## ओवरफ़्लो रैप होता है

`unsigned char c = 255; c = c + 1;` से `c` `0` हो जाता है। इंटीजर टाइप अपनी सीमा पर रैप होते हैं।
