Purchase Solution

Create a data structure that holds a persons address. Model in a C data structure..

Not what you're looking for?

Ask Custom Question

Create a data structure that holds a persons address. think about the different data elements of an an address and model them in a C data structure. One element that I am having a question on is how can I specify the state with only 2 characters?

Purchase this Solution

Solution Summary

This solution helps create a data structure.

Solution Preview

struct Address {
int apt; // Apartment number, usually should be an integer
char *street; ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.