EC-Council
312-92 · Question #45
312-92 Question #45: Real Exam Question with Answer & Explanation
The correct answer is A. Truncation. See the full explanation below for the reasoning.
Question
What type of problem will result if the following statement is used? int main() { short int a; unsigned short int=b32768; a=b; printf( " a = %d", a); b=65535; a=b; printf( " a = %d", a); }
Options
- ATruncation
- BPointer subterfuge
- CSign error
- DFunction-pointer clobbering
Community Discussion
No community discussion yet for this question.