NetApp Interview Question

How can I malloc a pointer in a different function. How to calculate if a number is a power of two without using functions. Thread related questions. Explain the makefile presented to you.