Level 60 Level 62
Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.
17 words 0 ignored
Ready to learn Ready to review
What are pointers?
Variables that store memory addresses of another variable. They must be declared before being used
gcc -o name_of_file -lm name_of_file.c
How do you compile a code you created?
What does "&" do?
it means "address of"
What does "%x" do?
It is used in a printf statement to print the hexadecimal value
int *c =&a
It declares c as a pointer that contains the address of a. See pic on google doc
see bottom of google doc
Placeholder for int values
used with (long int) some_variable. it is used to printf a long integer.
Printing this: "*a" gives?
Gives whatever is at the address of a
What is the syntax for declaring an array variable?
#define MaxLimit 25
How do you define a constant and where can it be helpful?
What is the importance of the ""?
It flags the parameter as an array, and it is always passed by reference
int i, j, min;
How can you declare variables all of the same type?
DoorClosed, DoorOpen, DoorOpening, DoorClosing
States in a Garage Door
camel-case such as...
States are generally named....
What causes us to change from state to state.
To print a pointer