Answer:
#include //Line 1
namespace aaa //Line 2
{ const int X = 0; //Line 3
double y; //Line 4
}
using namespace std; //Line 5
int main() //Line 6
{ y = 34.50; //Line 7
cout << "X = " << X << ", y = " << y << endl; //Line 8
return 0; //Line 9
}
In Line 1, No header file is present,so it will print output as cout and endl is not defined.
we should include <iostream> header file in line 1
Lines 7 and 8 are incorrect.
X and y variables in aaa namespace are stated. So we can't use it any other namespace(std), but here y is initialized to 34.50 and x is printed in other namespace rather than stated.
Answer:
Attached answer as image. Please check the attachment.
Explanation:
getpass is standard library and used to enter password securely instead of plaintext.
Answer:
The code will display the following on the screen:-
2
0
2
Explanation:
The output is like this because x{2} assigns the value 2 to the integer x.First the value of x is printed on the screen that is 2 and that newline is used to go to the next line.After that function is called doSomething with x passed as the argument. doSomething function assigns the value zero to the variable passed and prints it on the screen.So the next line is 0.Since x is passed by value so no changes will appear in the original argument.Hence the last line printed is 2.
The answer is (D) hope this helps !
Answer:
Apache Spark
Explanation:
The user seems to be a system technician who applies the lambda architecture with Microsoft Azure. using the open-source Big Data system to store, analyze, as well as manage information. Analytical information storage is not doing well.
It would eventually incorporate the approach that satisfies the following specifications that enable the development of a High definition Insight cluster to satisfy the specifications. So, the Apache Spark cluster type that he would develop.