13.Which of the following statements accurately describe the ANSI C do-while loop? O do-while loops may be nested only inside other do while loops. O The loop may be used to construct an infinite loop. O The until key word may be used in place of while to terminate the loop with an expression of the opposite sense. O The loop will execute the statements in its body at least once.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Please answer the below all questions.....

13.Which of the following statements accurately describe the ANSI C do-while loop?
O do-while loops may be nested only inside other do while loops.
O The loop may be used to construct an infinite loop.
O The until key word may be used in place of while to terminate the loop with an expression of the
opposite sense.
O The loop will execute the statements in its body at least once.
14. Which of the following identify programming scenarious in which the ANSI C EXTERN keyword
must be utilized?
O a library of functions defined in a single translation unit, with variables defined once which must
be accessible to at the library
O a program arranged with functions in many translation units and all global data together in one
translation unit.
O a library of functions implementing a mathematical relationship using a lookup table stored in
read-only memory.
O a function that calls another function in a different translation unit, for which no declaration exists
for the called function header file or otherwise.
O a library of functions defined in a single translation unit, with data objects which must be exposed
to functions.
15. Which of the following statements are correct regarding std:weak ptr in C++
O Each instance does not increase the reference count of the pointer object being shared.
The object being referenced by the std:weak_ptr instance must be checked to see if it still exists
before it can be accessed.
O Access to an instance's contained pointer is via operator->0-
O An instance can transfer ownership of its contained pointer if assigned to an object of
std:unique_ptr.
O E. An instance must be initialized by either an object of std:shared_ptr or another std:weak_ptr.
Transcribed Image Text:13.Which of the following statements accurately describe the ANSI C do-while loop? O do-while loops may be nested only inside other do while loops. O The loop may be used to construct an infinite loop. O The until key word may be used in place of while to terminate the loop with an expression of the opposite sense. O The loop will execute the statements in its body at least once. 14. Which of the following identify programming scenarious in which the ANSI C EXTERN keyword must be utilized? O a library of functions defined in a single translation unit, with variables defined once which must be accessible to at the library O a program arranged with functions in many translation units and all global data together in one translation unit. O a library of functions implementing a mathematical relationship using a lookup table stored in read-only memory. O a function that calls another function in a different translation unit, for which no declaration exists for the called function header file or otherwise. O a library of functions defined in a single translation unit, with data objects which must be exposed to functions. 15. Which of the following statements are correct regarding std:weak ptr in C++ O Each instance does not increase the reference count of the pointer object being shared. The object being referenced by the std:weak_ptr instance must be checked to see if it still exists before it can be accessed. O Access to an instance's contained pointer is via operator->0- O An instance can transfer ownership of its contained pointer if assigned to an object of std:unique_ptr. O E. An instance must be initialized by either an object of std:shared_ptr or another std:weak_ptr.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY