题解 | 有容乃大
有容乃大
https://www.nowcoder.com/practice/4712159bbc15417086d40d6c6ff94fee
#include <stdio.h>
#define Y(M) printf("The size of "#M" is %zu bytes.\n", sizeof(M))
int main() {
Y(short);
Y(int);
Y(long);
Y(long long);
}
有容乃大
https://www.nowcoder.com/practice/4712159bbc15417086d40d6c6ff94fee
#include <stdio.h>
#define Y(M) printf("The size of "#M" is %zu bytes.\n", sizeof(M))
int main() {
Y(short);
Y(int);
Y(long);
Y(long long);
}
相关推荐