Examples of Integer Constants in hexadecimal, octal and decimal - C Data Type

C examples for Data Type:int

Introduction

type hexadecimal octal decimal
char \0x41 \0101 N.A.
int 0x410101 65
unsigned int 0x41u 0101u 65u
long 0x41L 0101L 65L
unsigned long 0x41UL 0101UL65UL
long long 0x41LL 0101LL65LL
unsigned long long0x41ULL 0101ULL 65ULL

Related Tutorials