Home / MCQ Bank / Computer
Computer Function

In C, what is the purpose of the 'const' keyword when used with a function parameter?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • It specifies that the parameter is constant and cannot be modified

Related Computer Questions

What data structure would you use to implement a large database index efficiently? In time series analysis, what does the term "multicollinearity" refer to? What will be the output of the following C++ code? #include <iostream> using namespace std; int main () { int n; for (n = 5; n > 0; n--) { cout << n; if (n == 3) break; } return 0; } What will be the output of the following C++ code? #include <iostream> using namespace std; void Sum(int a, int b, int & c) { a = b + c; b = a + c; c = a + b; } int main() { int x = 2, y =3; Sum(x, y, y); cout << x << " " << y; return 0; } What is the purpose of the using statement in C# exception handling?