size of in c
snippet in c

what is size_t in c

user248

/*
The datatype size_t is unsigned integral type.
It represents the size of any object in bytes and is returned by the
sizeof operator.
It can never be negative.
*/

size of in c

user7868

#include <stdio.h> 
printf("%lu\n", sizeof(char)); 
printf("%lu\n", sizeof(int)); 
printf("%lu\n", sizeof(float));