/*
12. (2010)16 + (32)8的结果是( )。
A. (8234)10 B. (202A)16
C. (100000000110)2 D. (2042)16
1000 0000 0110 = 0x0806
don't know why you guys need inorder, preorder, or postorder
traversal of trees of forests.
Why not just simply compute the number?
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
int a = 0x2010 + 032;
if(a==8234)
printf("A");
if(a==0x202A)
printf("B");
if(a==0x0806)
printf("C");
if(a==0x2042)
printf("D");
printf("\n");
return 0;
}
I am working on a system which has no Chinese input. Please don\'t blame me for typing English.