Question: C++ look at the following code: struct town { char townName[51]; char countryName[51]; double population; double elevation; }; Town t = {Canton, Haywood, 9478}; A)

C++

look at the following code:

struct town

{

char townName[51];

char countryName[51];

double population;

double elevation;

};

Town t = {"Canton", "Haywood", 9478};

A) What value is stored in t.townName?

B) What value is stored in t.countryName?

C) What value is stored in t.population?

D) What value is stored in t.elevation?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!