C Flashcards
1
Q
Differenced between c and java
A
No classes
Single namespace
no bounds checking for arrays or strings
Size of primitive platforms is specific
2
Q
variables in C
A
char
int
float
double
3
Q
int definer
A
%d
4
Q
char definer
A
&C
5
Q
float definer
A
%f
6
Q
Char*
A
pointer to a char or a
variable that has the address of the first element of the array of
chars
7
Q
pointer
A
is a typed variable whose value is the address of another object in memory
8
Q
pointer to an int
A
a variable that contains the memory address of an int
9
Q
& operator
A
returns the address of an object in memory
10
Q
- dereference operator
A
accesses the location in memory that the pointer points to