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

help me solve these please. Im in integrated math 2
calculate the gradient of the straight line which joins A(2,-3) and B(6,9)​
Tell electronic configuration of Copper? ​
William bought snacks for his team's practice. He bought a bag of oranges for $3.02 and a 20-pack of juice bottles. The total cost before tax was $22.02. Write
9. What one evil would you want to see locked back up in Pandora's box? 10 Why? (Be specific) *​
HELP ASAP: Read the excerpt from "Little Brother" and answer the question. After a heated classroom discussion with his substitute teacher following a terrorist
Expand [tex](x-\frac{1}{x} )^{12}[/tex] , simplifying the coefficients
Please refrain from answering just for the points
Carbohydrates stored in the liver are in the form of starch. True False
It is given that the gradient of a straight line which passes through M(h,3) and N(-2,-9) is 2, calculate the value of h.​