You are on page 1of 2

1. Define a pointer? Write a program to find sum of all elements in a given array using pointers?

2. Compare call by value and call by reference using a suitable example?


3. Differentiate between structure and union?
4. Write a c program to find GCD and LCM using recursion
5. Explain file system basics?
6. Write a c program to demonstrate the use of fscanf and fprintf functions.
7. Explain command line arguments?
8. Write a c program to exchange two numbers using call by reference?
9. Explain Dynamic memory allocation functions in c with a suitable example?
10. What is a union? Write a c program to store input in union and display it?
11. How to declare and initialize and access a structure with an example?
12. Explain formatted input output?
13. Explain preprocessor directives #include and #define?
14. List and explain the storage classes with examples.
15. Write a C program to find the factorial of a given number using recursion
16. Describe the following file functions a)fopen() b) fclose() c) getc() d) putc() e) feof()
17. Write a C program to read name and marks of n number of students from user and store them
in a file.
18. Discuss file I/O operations?
19. Demonstrate with a suitable example the use of structure with in a structure
20. Write a C program to demonstrate the use of array of structures
21. Give a detailed note on pointer expression.
22. How to pass the structures to functions as an argument? Explain with suitable example
23. Explain Fseek and random access I/O with an Example.
1. What is the use of typedef in c? 25. Differentiate argv and argc arguments.
2. What is Pointer? Give its general form 26. What are actual and formal arguments?
3. What does this statement indicates 27. Define pointer to pointer.
p=**a; where p & a are variables? 28. What is a void pointer?
4. Define call by reference. 29. How to define a structure?
5. What is a command line argument? 30. Explain malloc() function
6. Differentiate structure and union. 31. Explain the register storage classes.
7. List out the dynamic memory allocation 32. Write the syntax for enum
functions. 33. Write any two file i/O functions
8. Define const type qualifier. 34. How to access structure members?
9. How to pass structure by value? 35. Explain #include preprocessor directive
10. List out the I/O file handling functions. 36. Write syntax for fread() and fwrite()
11. Define getch() and putch() functions. functions
12. What is a union? 37. Define void pointer.
13. Discuss any two storage class specifies 38. Give the syntax of calloc() function.
14. Differentiate between malloc() and 39. Mention the advantage of using Bit
calloc() Fields.
15. Explain call by value? 40. Define Return statement.
16. What is indirection? 41. List the types of qualifiers in C
17. What are the problems with pointers? 42. What are the problems with pointers?
18. Define function. 43. How to access members of a structure.
19. How to pass structure by reference? 44. How to access structure members
20. Define structure? through pointers.
21. What is a bit field? 45. Define union.
22. Differentiate fgets() and fgetc() 46. Write the syntax for structure within the
functions. structure.
23. Define pre-processor directives? 47. List the types of preprocessor directives.
24. Write the syntax for fseek() function.

You might also like