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
Get step-by-step solutions from verified subject matter experts
