subject

Given the following class definition and the variable declaration: class employee
char *name;
long id; }
class manager {
employee empl;
char* rank; } x

Which of the following assignment statement is correct?

a. x. empl->id = 12345;
b. x. id = 12345;
c. x->id = 12345;
d. x. empl. id = 12345;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:00
Which of the following does 3d animation create an illusion of on the screen? a. depth b. emotion c. length d. dialogue
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
question
Computers and Technology, 23.06.2019 04:40
The narrative structure of the popular movies can be broken down into
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
You know the right answer?
Given the following class definition and the variable declaration: class employee
char *name;...
Questions
question
Mathematics, 10.11.2019 19:31
Questions on the website: 13722367