subject

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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:40
How do i get the most points, without any effort?
Answers: 2
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quic 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
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
You know the right answer?
What is the function below designed to do?* void dispstr(char* ps)
{
while( *ps)
...
Questions
question
Mathematics, 13.10.2020 03:01
question
History, 13.10.2020 03:01
question
Mathematics, 13.10.2020 03:01
Questions on the website: 13722360