comawhite6181 comawhite6181
  • 21-08-2019
  • Computers and Technology
contestada

Write a code to define a structure named student, which includes name, student number and email address

Respuesta :

mominetti
mominetti mominetti
  • 24-08-2019

Answer:

Hi!

I will write the code on C.

struct student  //define the struct on C.

{

   char name[50];  //define an array of char for name.

   int number[15] ; //define an array of int for number.

   char email[50];  //define an array of char for email adress.

}

Explanation:

The general syntax for structure in C is:

struct structName

{

 data-type structMember1;

 data-type structMember2;

 data-type structMember3;

 data-type structMember4;

};

Answer Link

Otras preguntas

What is 6.64 divided by 0.4
What is the answer to 7n + 3 = 3n + 27
what roman regions were not in europe??
there are 5 different routes that a commuter can take from her home to the office. in how many ways can she make a round trip if she uses a different route comi
there are 5 different routes that a commuter can take from her home to the office. in how many ways can she make a round trip if she uses a different route comi
How do government policies affect free market economies such as the U.S economy?Please explain like this :  Government policies affect free market economies suc
A square patio has an area of 200 square feet. How long is each side of the patio to the nearest tenth?
Ho do I make 96/3 in simplest form what my answer
How do water molecules behave?
marcel's plane travels 3.345 meters salvadors plane travels 3.35 meters .jennifers plane travels 3.3 meters baced on measurements whose plan traveled the farthe