T
Q. Output of the this program will be _____
#include using namespace std; int main () { int array[] = {0, 2, 4, 6, 7, 5, 3}; int n, result = 0; for (n = 0 ;n < 8 ;n++) { result += array[n]; } cout << result; return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following correctly declares a pointer in C++?
Q. When a base class is privately inherited by the derived class, then_____________ .
Q. Which C++ feature allows different functions to have the same name but different parameters?
Q. Conversion of data type is called
Q. What will be the output of the following code? int a = 5; int b = 2; cout << a / b;
Q. Which header file is used to pass unknown number of arguments to function?
Q. How can you access the arguments that are manipulated in the function?
Q. The standard ASCII characters have numeric values from ‐‐‐ to ‐‐‐‐
Discusssion
Login to discuss.