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

Tell me some evidence of global warming
please help! Thank you so much! Give an example of an argument on written or spoken words and state who the sender or the argument is who is the targeted audie
4. What problem arises when we're generally not wrong but not specifically right or wrong)?
help pls pls help pls ​
If 8x – 4 = 6x - 10, find the value of 5x.​
What kind of plate boundary exists at the Southeast Indian Ridge?
Make an argument that convinces someone to like your favorite sport.
The grid you see below is in the shape of a rectangle. What is the area, in square units, of the shaded part?
can someone help w this asap for brainliest
choose all the values that make the following equation true equation: 3/4 = a/36 possible values: A. 23 B.27 C.22 D.108/4