C.long Question
C.long Question
2. What are header files? Are functions declared or defined in header files?
3. What is a pointer in C? What are the advantages of using pointers? Explain with
examples.
5. What are the differences between form arguments and actual arguments of a
function Explain with an example.
6. What is scope & storage allocation of register, static and local variables? Explain with
Examples.
7. What are storage memory, default value, scope and life of Automatic and Register,
Static and External storage class?
8. What are the differences between formal arguments and actual arguments of a
function? Explain with an example.
9. What are the differences between malloc() and calloc() Explain with Examples.
11. Why are files needed? How we open and close an existing file in C? Also discuss the
various modes to open a file.
12. Write a program to print the second largest number between 10 numbers.
13. Give the advantages of array using pointers. Write a program to access elements of
an array by using pointers.
15. What are the advantages and disadvantages of a recursive function? Write a
program to find the sum of first n numbers using recursion.
16. How we open and close an existing file in C? Also discuss the various modes to open
a file.
17. Write a program to check whether the number is prime or Armstrong with the help of
18. user defined functions.
19. Give the advantage of array using pointers. Write a program to access element of an
20. array by using pointers.
21. What is an operator? What are different types of operators? Discuss the various
operators available in C.
22. What do you mean by a recursion? Write a program to print a Fibonacci series using
recursion up to 1000 numbers.