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

A solid metal sphere of radius 32cm is melted down and recast to make 64 identical small spheres.what will be the radius of each small sphere?
which of the following is a pure substance?a. sodab.gun powderc. sugar waterd. steam
draw and name all the isomers of the alkene C4H8
Everett made 3/5 of the baskets he shot. Suppose he shot 60 baskets. How many did he make?
16d - (4 - 5d) = -67 Please help me find d
what moves in or out of a substance during a change of state?
Kurt cut pizzasinto wedges measuring 40 degrees. I feach person eats one piece of pizza how many people could he feed with two whole pizzas
Could you please help me :) Solve 2x^2 = 128.
'Solve using perfect square factoring patterns. x^2 – 12x + 36 = 4'
if A=bh, and if b=12 and h=8, what does A equal?