IsThere any Data types beyond these four in C language? (int, float, char, double) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

IsThere any Data types beyond these four in C language? (int, float, char, double)

C Language

29th Nov 2018, 8:02 AM
Kishore Bonthu
Kishore Bonthu - avatar
2 Respostas
+ 7
Besides arithmetic types Ā¹, the standard library (support library) also provides some additional types like `bool` type ā€” also `true` and `false` keywords ā€” by adding <stdbool.h> Ā² ~~~~~~ int8_t int16_t int32_t int64_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t int_least8_t int_least16_t int_least32_t int_least64_t intmax_t intptr_t uint8_t uint16_t uint32_t uint64_t uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t uint_least8_t uint_least16_t uint_least32_t uint_least64_t uintmax_t uintptr_t by adding <stdint.h> Ā³ _____ Ā¹ https://en.cppreference.com/w/c/language/arithmetic_types Ā² https://en.cppreference.com/w/c/types/boolean Ā³ https://en.cppreference.com/w/c/types/integer
29th Nov 2018, 8:26 AM
Babak
Babak - avatar
+ 1
short int unsigned short int unsigned int long int unsigned long int long long int unsigned long long int signed char unsigned char long double
29th Nov 2018, 8:16 AM
James
James - avatar