L12arrays - Previous lecture review q q q q q q q q q q q q...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
what are executable statements / non-executable statements? is global constant declaration an executable statement? what is header file? what is the difference between <file.h> and “file.h”? what should go into the header file? what needs to be done if a function needs to call another function defined in a separate file? what’s an object file, standard library? what is linking how does make makes compilation of separate files easier? what’s a void-function? is it possible for a function to have no parameters? what’s call-by-value? what’s call-by-reference? can expression by passed by reference? Previous lecture review
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Arrays
Background image of page 2
Programmers sometimes need to manipulate variables of similar nature (remember 2 nd project where we dealt with a list of numbers) array - a list of similar variables with two names: name of the array it is the same for all variables in the array index (or subscript ) - different for every variable, put in square brackets [] example: array score may have following variables: …, score[2], score[3], score[4] , … variables in the array are indexed variables or elements of the array all variables in the array have the same type called
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 10

L12arrays - Previous lecture review q q q q q q q q q q q q...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online