Answer:
The ouput of the given code is :
22
is "Tom's age.
Explanation:
Here in this code the variable user_name and user_age are initialized to "Tom" and 22 respectively as statement is given in the question i.e cout << user_age << " \nis " + user_name << "'s age.";.This line will print the user_age i.e 22 after that the control moves to the next line and print is "Tom's age.
Following are the code in c++
#include <iostream> // header file
#include <string>
using namespace std;
int main() // main function
{
string user_name="Tom";
int user_age= 22;
cout << user_age << " \nis " + user_name << "'s age.";
return 0;
}
Output:
22
is "Tom's age.
Answer:
Some parts of your question is missing here is the missing part
var count = 0;
var counterElement = document.getElementById("counter");
counterElement.innerHTML = count;
Answer : var interval = setInterval(function () {
count++;
counterElement.innerHTML = count;
if (count === 5) {
clearTimeout(interval);
}
}, 300);
Explanation:
var interval = setInterval(function () {
count++;
counterElement.innerHTML = count;
if (count === 5) {
clearTimeout(interval);
}
}, 300);
Pretty sure the answer is D
Answer:
B. pointerVariableName->classMemberName
Explanation:
The syntax for accessing a class (struct) member using the operator -> is pointerVariableName->classMemberName.
Answer:
video card or sound card
Explanation:
I think I'm not sure it is probably video card bc computers already have sound