f and g are the same question.
You didn't answer h
i is ambiguous. If they mean the value of the pointer itself, then it is true. If they mean the integer to which the pointer points, then it would be true only if memory were allocated to the destination pointer or the destination pointer already points to an integer variable.
j is incorrect
Otherwise I your answers are correct
Ancient Dragon
Achieved Level 70
32,145 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,577
Skill Endorsements: 69
All that AD said, plus these corrections:
c) is True. A function prototype / declaration can appear anywhere (well, anywhere any other variable declaration can appear), this includes the global scope, namespace scope, class scope, function body, and even within any { } scope within the function body. At least, that's my understanding of the question, but "no conditions" is too vague (because, of course, it must appear before it is needed, so that's one condition, and then there are also obvious places where you can't put a function prototype, like within a string literal or something, but these are trivial conditions).
h) is correct.
l) This question is weird, it's the "and it doesn't use pointers" part that I don't understand. This makes no difference at all. In any case, the answer is correct, True.
mike_2000_17
21st Century Viking
3,140 posts since Jul 2010
Reputation Points: 2,062
Solved Threads: 625
Skill Endorsements: 41