Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- temp.cpp: In function ‘int main()’:
- temp.cpp:8:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t {aka long int}’ [-Wformat=]
- printf("%lld\n", int64_t(0));
- */
- #include <bits/stdc++.h>
- int main() {
- std::cout << "sizeof(long long int) = " << sizeof(long long int) << std::endl;
- std::cout << "sizeof(int64_t) = " << sizeof(int64_t) << std::endl;
- printf("%lld\n", int64_t(0));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement