Free Online Tutorials  Go To Your University  Placement Preparation  Online Live ClassesYoutube Live Link

SUMMER TRAINING AT GOEDUHUB TECHNOLOGIES, JAIPUR (Call:- 7976731765)Project Based Best Summer Training Courses in Jaipur

0 like 0 dislike
42 views
in Tutorial & Interview questions by Goeduhub's Expert (8.1k points)

Fixed Width Integer Types (since C99)

Version ≥ C99

1 Answer

0 like 0 dislike
by Goeduhub's Expert (8.1k points)
 
Best answer

The header <stdint.h> provides several fixed-width integer type definitions. These types are optional and only provided if the platform has an integer type of the corresponding width, and if the corresponding signed type has a two's complement representation of negative values.

See the remarks section for usage hints of fixed width types.

/* commonly used types include */

uint32_t u32 = 32; /* exactly 32-bits wide */

uint8_t u8 = 255;        /* exactly 8-bits wide */ 

int64_t i64 = -65        /* exactly 64 bit in two's complement representation */

Related questions

0 like 0 dislike
1 answer 14 views
0 like 0 dislike
1 answer 18 views
0 like 0 dislike
1 answer 18 views
0 like 0 dislike
1 answer 19 views

 Goeduhub:

About Us | Contact Us || Terms & Conditions | Privacy Policy || Youtube Channel || Telegram Channel © goeduhub.com Social::   |  | 
...