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

write the correct name of the Fe(CIO3)3​
All of the following about the cell membranes are true except.
Which line is the STEEPEST? A) y =1/3x-1 B) y = 8x – 1 C) y = 4x – 1 D) y = 2x – 1
Convert 555 into base five numeral system .( no link pls)............​
over what interval function is this graph constant​​
Please help. 0=25x^2 + 80x + 68
A researcher testing a hypothesis that the population mean is 25 takes a sample of size 36 and obtains a sample mean of 23 with an estimated standard error of 4
In the chairman's white paper, "mission command" (2012), "_____ equips decision-makers at all levels with the insight and foresight to make effective decisions,
A wall map of the United States has a distance of 8.5 in. between Memphis and Denver, two cities that are actually 1040 mi apart. The actual distance between St
Plz match the following