Given the following declarations:
struct house
{
double price;
int rooms;
};
house *ptr1, *ptr2;
which of the following is invalid?
a) ptr1->price = 200000;
b) ptr2->rooms = ptr1->rooms;
c) *ptr1 = ptr2;
d) ptr1 = ptr2;
c) *ptr1 = ptr2;
Computer Science & Information Technology
You might also like to view...
No two Web sites can have the same domain name and top-level domain.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)?
A. psfiles B. lsof C. pstatus D. pids
Computer Science & Information Technology