Friday
August 29, 2014

Homework Help: computer science

Posted by Cheryl on Sunday, February 19, 2012 at 3:26pm.

Declare a structure whose tag name is Emp and that contains these fields (in the following order): a double field named d, a character pointer named str, and an array of eleven integers named arr.

* I'm good till here.


In addition, declare a array named emp of 30 of these structures.

*this has me scratching my head is this Emp emp[30];


Assign the value 12 to the last element of the arr field of the last element of emp. Assign 3.5 to the d field of the first emp element. Assign the string Hello to the k'th element of emp (assume k has been declared as an integer variable and assigned a value in the range of the array elements).

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Computers - Create a class named Checkup with fields that hold a patient number...
math - Four good friends, who love cats, have each named their cat after one of ...
Math - Four good friends, who love cats, have each named their cat after one of ...
English - Beowulf - Who is Scyld? Where is he from and where does he go? What ...
computer science - Assume that BlogComment is a structured type with these ...
English - As I know a character after which a book is named is an eponymous ...
English 11 - Type a character sketch of a fictional Southern Gentleman named ...
Chem - CH3-COOH-CH-COO- 3-hydroxybutyrate or β-hydroxybutyrate I have no ...
Computer Science - Suppose that a String variable str has already been defined ...
Computers - Write a statement that assigns the length of an array named ...

Search
Members