Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

C++ Institute Exam CPA-21-02 Topic 1 Question 16 Discussion

Actual exam question for C++ Institute's CPA-21-02 exam
Question #: 16
Topic #: 1
[All CPA-21-02 Questions]

Which code lines inserted independently instead of the comment will make the following program work correctly? (Choose three.)

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Honey
7 months ago
Hey, where's the option for 'All of the above'? Seems like a trick question to me.
upvoted 0 times
Chana
6 months ago
User 1
upvoted 0 times
...
Tiffiny
6 months ago
User 2
upvoted 0 times
...
Ellsworth
6 months ago
User 1
upvoted 0 times
...
...
Wenona
7 months ago
I think A, C, and D are the correct choices. main() can take different parameter formats.
upvoted 0 times
...
Cary
7 months ago
B and D are wrong. main() should return an integer, not void.
upvoted 0 times
...
Alpha
7 months ago
Definitely A and C. The program needs a valid main function signature to run.
upvoted 0 times
Gail
6 months ago
B) int main (int c, char *v[])
upvoted 0 times
...
Janessa
6 months ago
C) int main
upvoted 0 times
...
Fletcher
7 months ago
A) int main (int argc, char *argv[])
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77