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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, bombbomb2157
Eva has many contacts on the professional networking site she uses which contacts are considered second degree
Answers: 3
image
Computers and Technology, 22.06.2019 16:30, aryal191
Primary tech skills are skills that are necessary for success in online education
Answers: 3
image
Computers and Technology, 23.06.2019 09:30, caromaybelline71
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
You know the right answer?
What is the function below designed to do?* void dispstr(char* ps)
{
while( *ps)
...

Questions in other subjects:

Konu
Mathematics, 06.05.2021 16:50
Konu
Mathematics, 06.05.2021 16:50