Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #define println(format,...) printf(format"\n",__VA_ARGS__)
- #define print(type) println(#type" %zd",sizeof(type))
- int main(){
- print(void);
- print(char);
- print(short);
- print(int);
- print(float);
- print(long);
- print(double);
- print(long long);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement