Answer:
cout << "Num: " << songNum << endl;
cout << songNum << endl;
cout << songNum << " songs" << endl;
Explanation:
Since you did not provide the whole code and each statement has an error, it seems the name of the variable is songNum. Depending on these, you can see the corrections below:
cout << "Num: " << <u>songnum</u> << endl; → cout << "Num: " << songNum << endl;
The name of the variable must be written correctly.
- - -
cout << <u>int</u> songNum << endl; → cout << songNum << endl;
Declaration of the variable must be done before printing it.
- - -
cout << <u>songNum " songs" </u><< endl; → cout << songNum << "songs" << endl;
There must be "<<" signs between each part while printing.
total = 0
for x in range(3, 67, 3):
total += x
print(total)
I hope this helps!
I've included my code in the picture below. Best of luck.
Answer:
A. (*pStruct).member
Explanation:
pStruct corresponds to a pointer to a structure datatype.
So to get a reference to the actual structure data, we need to dereference the pointer using the * operator. This can be done using (*pStruct).
Now we need to access a field of the structure called member. This can be done using the dot notation. So the syntax for accessing the field 'member' will correspond to:
(*pStruct).member
Hi!
The answer to this is True
You always want to transparent with how you are going to use someone's information and how you are going to keep it private.