Strings Model

[phpbay keywords=”Strings Model” num=”50″ siteid=”1″ descriptionsearch=”true” category=”” sortorder=”BestMatch” displaysortbox=”true” geotarget=”true” removeduplicates=”true” templatename=”columns” columns=”4″]
Given the declarations?

struct BrandInfo
string company;
string model;
struct DiskType
BrandInfo brand;
float capacity;
DiskType myDisk;

which of the following assignment statements is valid?
Question 4 answers
myDisk.capacity = 1.44;
myDisk.BrandInfo = “Memorex”;
myDisk.brand = “Memorex”;
a and c above
none of the above

In the way you put it here only myDisk.capacity = 1.44; is valid.

WordPress theme: Kippis 1.15