The answer is A create a password
Answer:
A. You can use in place of all face-to-face communication.
Explanation:
Hope this helps
Answer:
getline(cin, address);
Explanation:
Given
String object: address
Required
Statement that reads the entire line
The list of given options shows that the programming language is c++.
Analysing each option (a) to (e):
a. cin<<address;
The above instruction will read the string object until the first blank space.
Take for instance:
The user supplied "Lagos state" as input, only "Lagos" will be saved in address using this option.
b. cin address:
This is an incorrect syntax
c. getline(cin,address);
Using the same instance as (a) above, this reads the complete line and "Lagos state" will be saved in variable address
d. cin.get(address);
address is created as a string object and the above instruction will only work for character pointers (i.e. char*)
<em>From the above analysis, option (c) is correct.</em>
Answer:
The code is mentioned below.
Explanation:
This code is written in C.
Assuming that an array of 6 by 8 is already initialized and stored in a vector
![x[6][8]](https://tex.z-dn.net/?f=%20x%5B6%5D%5B8%5D%20)
which will be called or referred in program by:
![x [i] [j]](https://tex.z-dn.net/?f=%20x%20%5Bi%5D%20%5Bj%5D%20)
Alongwith the array the variables i j and max will be initialized as integers.
CODE:
int i,j,max;
max=0;
for(i=0;i<6;i++)
{
for(j=0;j<6;j++)
{
if(max>x[i][j])
max = x[i][j];
}
}
This code will check each and every entry of 6 by 8 array and place the largest value in max.
Answer
TRUE
Explanation
In a computer, high-level language programs are translated into machine language before they undergo execution. The Compiler is the computer program responsible for the translation of the written code in high level language to a lower level language also called machine/object code. The translation is performed to create an executable program.