Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C string literal
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <stdio.h> #define DIMENSION(array) (sizeof(array) / sizeof(array[0])) int main() { char str[] = "가"; printf("%Iu\n", sizeof(str)); printf("%Iu\n", sizeof("가")); for (int i = 0; i < DIMENSION(str); ++i) { printf("%02X ", (unsigned char)str[i]); } putchar('\n'); }
run
|
edit
|
history
|
help
0
timeConversion
std::is_same doesn't check for calling convention
calling conventions and using an override class to change another classes values
c++ pure apstraction
#30.3
Constant table but dynamic initialization at runtime
infix to postfix v 2.0
infix to postfix v 1.0
1
No UD