Examlex

Solved

How Many Times Will the Following Function Call Itself, If

question 2

Multiple Choice

How many times will the following function call itself, if 5 is passed as the argument? void showMessage(int n)
{
If (n > 0)
{
Cout << "Good day!" << endl;
ShowMessage(n - 1) ;
}
}


Definitions:

SaaS

Software as a Service, a cloud computing offering that provides users with access to a vendor's cloud-based software, eliminating the need for internal infrastructure or hardware.

Infrastructure

The fundamental facilities and systems serving a country, city, or area, including the services and facilities necessary for its economy to function.

Web Services

Applications delivered over the Internet that IT developers can select and combine through almost any device, from personal computers to mobile phones.

IT Applications

Software applications designed for managing information technology tasks such as data management, communication, and analysis.

Related Questions