Save
Computer reviewer
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Rai Jeofrey
Visit profile
Cards (22)
A
byte
is a series of
1s
and
0s
usually grouped in a
sequence
Pointers
are
variables
used to store
memory locations
Asterisk before the variable
indicates that an identifier will be a
pointer
variable
Asterisk before the variable
is used to tell the compiler to reserve a memory space that can hold a memory address
Null
is typically done to wipe any
garbage
values that have no use at all
Ampersand
symbol refers to the
address
of the variable
Functions
are genetally used to make programs modular
A
function
must be declared
prior
to its use except when it is already defined.
the
parameter
list of a
funtion
may have parameters of any data type
Parameters are
optional
The number and data types of parameters should
match
the
number
of data types
The
return statement
is used to return a single value from a function.
The return statement is
optional
If a function does not return a value its return type will be
void
If the data type of the value returned of a function is not declaere it is converted into
int.
Functions makes programs significantly eaisier to
understand
and
maintain
Well
writren
function can be reused on other programs
Global
variables
are declared outside any function
Local
variables can only be used within the same
function
Parameters
only accept values from
other
functions
of the programmm.
Indirection
operator
[
*
] returns the value of the address stored by the pointer
The
address-of
operator
[
&
]returns the address of the pointer