Description
There are two variables A and B, after the following code is executed:
CPP
a = 32768;
b = a;
Printf (" %d %d \ n", a, b);
Output two numbers: 32768 - 32768
Which type of A and B are the following types?
A. BOOL B. Char C. Short d. int E. Float F. Double
Input
none.
OUTPUT
One line contains two capital letters, which represent the type label of variable A and B. A space is separated in the middle.
Input Sample
None
OUTPUT SAMPLE
A B
// Just make an example of format, non - correct answer
Answer
CPP
include <stdio.h>
int Main ()
{{
Printf ("d c \ n");
Return 0;
}
Result
Used Memory: 128KB
Run time: 1ms
Language: G ++
Submit time: 2019-04-14 09:37:21
Proplem Link
http://noi.openjudge.cn/ch0102/04/
OpenJudge 04:Type conversion 1
Comments