Computers and Technology

What is the function below designed to do?* void dispstr(char* ps)
{
while( *ps)
cout << *ps++;
cout << endl;
}
A. Displays an infinite amount of characters.
B. Displays one character at a time until it runs into the NULL character '\0'.
C. It does not do anything because the while loop test condition is always false
D. We cannot tell because the function call is missing.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:00, breella0
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
image
Computers and Technology, 22.06.2019 17:30, babyface1686
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, devenybates
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
image
Computers and Technology, 23.06.2019 17:30, kenyasutton10
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
Do you know the correct answer?
What is the function below designed to do?* void dispstr(char* ps)
{
while( *ps)
...

Questions in other subjects:

Konu
Chemistry, 02.12.2021 04:30
Konu
World Languages, 02.12.2021 04:30
Konu
Computers and Technology, 02.12.2021 04:30
Konu
Computers and Technology, 02.12.2021 04:30