L13arrays2

L13arrays2 - Previous Lecture Review q q q q q q q q q q q...

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

View Full Document Right Arrow Icon
What is an array? What is name of the array? What is index? What is indexed variable? Element of the array? What is array size? What is array’s base type? How is array declared? What do number indexes start from? Can compiler detect an out-of-range index? Can arrays be passed as arguments to functions? If yes by value or by reference? If yes, how’s size of array passed? What does const mean in the following declaration? void myfunc(const int []); What is the problem of displaying array size in functions under gdb? Previous Lecture Review
Background image of page 1

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

View Full DocumentRight Arrow Icon
Arrays disposable kitchen utensils plants example
Background image of page 2
Input/Output for the program 245 567 -1 1567 2456 456 -1 3457 -1 6891 987 -1 total production for each plant, round to thousands, output bar graph Items of each type for each plant (4 plants, arbitrary number of types ) Units produced in thousands of units: Plant #1 * Plant #2 ****
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/22/2010 for the course CS 23021 taught by Professor Staff during the Spring '08 term at Kent State.

Page1 / 5

L13arrays2 - Previous Lecture Review q q q q q q q q q q q...

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

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