Important C Questions
Sign in

important C questions

1. How much maximum and minimum can you allocate in a single call to malloc()?

2. When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers and do they get readjusted automatically?

3. What is C object file? How can you access object file?

4. Can there be at least some solution to determine the numeric number of arguments passed to a variable argument list function?

5. Which function should apply to free the memory allocated by calloc()?

6. Which header file should you include if you are to develop a function which can accept variable numeric number of arguments?

7. Can you dynamically allocate arrays in expanded C memory?

8. Can you write a function similar to printf?

9. How do you declare the following:

o An array of three pointers to chars o A pointer to array of three chars o A pointer to a function which receives nothing and returns nothing o An array of three char pointers o A pointer to function which receives an int pointer and returns a float pointer

10. What do the functions itoa(),atoi()and gcvt() do?

11. How can a called function determine the numeric number of arguments that have been passed to it?

Related links: C Assignment Help

start_blog_img