EC-Council
312-92 · Question #69
312-92 Question #69: Real Exam Question with Answer & Explanation
Sign in or unlock 312-92 to reveal the answer and full explanation for question #69. The question stem and answer options stay visible for context.
Question
When the following code is compiled and run is a program what size block will be used to hold name string? #include <stdio.h> int main(int argc, char **argv) { char target[5]="TTTT"; char attacker[11]="AAAAAAAAAA"; strcpy(attacker, " DDDDDDDDDDDDDD"); printf("% \n", target); return 0; }
Options
- A16 bytes
- B28 bytes
- C32 bytes
- D8 bytes
Unlock 312-92 to see the answer
You've previewed enough free 312-92 questions. Unlock 312-92 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.