Size of unsigned type

If you have a simple question and just want an answer.
ffomich
Experienced Member
Posts: 119
Joined: Mon Sep 15, 2014 1:32 pm

Size of unsigned type

Post by ffomich »

What size is unsigned type variable?

For example, unsigned adatCounter = 0;

holdend
New User
Posts: 3
Joined: Tue Sep 29, 2015 11:45 pm

Post by holdend »

Try sizeof(unsigned)

It should give you the answer of 4 (bytes).