Question: 1 8 . In Illustration 3 , which line is the main function declaration? A . 1 B . 8 C . 9 D .

18. In Illustration 3, which line is the main function
declaration?
A.1
B.8
C.9
D.11
19. In Illustration 3, which line is the entry point for the
program?
A.1
B.5
C.11
D.13
20. In Illustration 3, which line is a compiler directive?
A.2,3
B.7,8
C.9,30
D.20,30
21. In Illustration 3, which line is the function prototype?
A.8
B.9
C.11
D.30
22. In Illustration 3, which line defines the function?
A.30
B.9
C.1
D.31
23. In Illustration 3, which line returns a value to the
operating system?
A.1
B.11
C.26
D.30
24. In Illustration 3, what is the scope (give the line
numbers) for the object named x?
A.1-41
B.32
C.33,40
D.31-41
25. In Illustration 3, what is the scope (give the line
numbers) for the if statement on line 35?
A.1-41
B.36-40
C.30-40
D.35
26. In Illustration 3, what is the scope for the variable
rand_seed?
A. local
B. lines 12-27
C. global
D. lines 31-41
27. In Illustration 3, which line declares the value used for
MAX?
A.15
B.20
C.23
D.5
28. In Illustration 3, which line declares objects x, y, t?
A.30
B.32
C.33 & 34
D.37-39
29. In Illustration 3, what data type is returned to the
operating system?
A.0
B. int
C.10
D. MAX

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!