Software engineering and programming Flashcards

1
Q

Define automatic variable

A

Function variables which are released from memory when the program functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define local variable

A

Variable defined within a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define global variable

A

Variable defined outside of a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define formal variable

A

Variable defined as function parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define ponters

A

Variable which stores memory address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does (int*i) do?

A

Creates a pointer which stores the memory address of an integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly