Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

*int* and *size_t* are long unsigned integer datatypes in C language. But the difference is *size_t* takes 8 bytes and *int* takes 4 bytes of memory in 32 bit GCC compiler. We see this with an example:
***
#include
int main(){
printf("int size is %ld\n", sizeof(int));
printf("int size is %ld\n", sizeof(size_t));
return 0;
}
***
4 years ago