Answer:
C++.
Explanation:
#include <iostream.h>
void main(int argc,char* arg[]) {
// Arrays
int x[100];
int y[50];
int z[50];
////////////////////////////////////////////////////////////////////////////
int count = 0;
for (int i = 0; i < 100; i+=2) {
z[count] = x[i] * y[count];
count++;
}
for (int i =0; i < 5; i++) {
cout<<z[i]<<endl;
}
getche();
}
Comparison operators are used to compare between objects!
are they equal? is one greater than the other?
if (a == b) ++a;
if (a > b) a = b;
for example when we use a sort function, comparison operators are used inside the function.
<span>C. out one level. i hope this helps</span>
Answer:
A global variable can have the same name as a variable that is declared locally within the function.
Explanation:
In computer program, we refer to a global variable as that variable that comes with a global perspective and scope, ensuring its visibility throughout the program, except it is shadowed. The set of this kind of variable is referred to as global state or global environment. One feature of global environment is that it can have similar name as a variable declared locally within the function.