ES101 - Lesson 9 : Structures

From Embedded Systems Learning Academy
Revision as of 23:01, 29 July 2013 by Preet (talk | contribs) (Created page with "== Objective == You will learn how to create structures. Structures can help you group information together. For example, if you wish to ask for student age, ID, and name, y...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Objective

You will learn how to create structures.

Structures can help you group information together. For example, if you wish to ask for student age, ID, and name, you can group this data into a single structure that represents one student.

Video Demonstrates :

  • <Coming soon>

Type Define Structure

void main()
{
    
}

Declare and use structure

int main(void)
{
   
}

Passing structure to a function

Pass a copy

Pass by pointer

Assignment