You are on page 1of 2

G.

PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOY RAVINDRA COLLEGE OF ENGINEERING FOR WOMEN
VENKAYAPALLI, KURNOOL 5180002

C - TEST
Max Marks:
1. What is C language? 2. Explain about print f (%d)? 3. What is the difference between calloc() and malloc()? 4. What is difference between printf () and sprint()? 5. Compilation How to reduce a final size of executable? 6. Can you tell me how to check whether linked list is circular? 7. Write a program to find the factorial of a given number? 8. What does static variable means? 9. Advantages of a macro over a function? 10. What are the differences between malloc and calloc? 11. What are the different storage classes in c? 12. What is the difference between string and character arrays? 13. Difference between const char*p and char const*p? 14. What is hashing? 15. How can you determine the size of an allocated portion of memory? 16. Can static variables be declared in header file? 17. Can a variable be both const and volatile? 18. Can include files be nested? 19. When does the compiler not implicitly generate the address of the first element of the array? 20. What is a null pointer? 21. What is the difference between text and binary modes? 22. What is static memory allocation and dynamic memory allocation?

Time: 1.30M

23. When should a far pointer be used? 24. How are pointer variables initialized? 25. Difference between arrays and pointers? 26. Is using exit() the same as using return? 27. What is a method? 28. What is indirection? 29. What is modular programming? 30. How many levels deep can include files be nested? 31. What is the difference between declaring a variable and defining a variable? 32. What is an lvalue? 33. Differentiate between an internal static and external static variable? 34. What is the difference between string and an array? 35. What is an argument? Differentiate between formal arguments and actual arguments? 36. What are advantages and disadvantages of external storage class? 37. What is a void pointer? 38. When should a type cast not be used? 39. When is switch statement better than multiple if statements? 40. What is a static function? 41. What is a pointer variable? 42. What is a pointer value and address? 43. What is a modulus operator? What are the restrictions of a modulus operator? 44. Differentiate between a linker and linkage? 45. What is a function and built-in function? 46. Why should I prototype a function? 47. What is polymorphism? 48. What is operator overloading? 49. What is the difference between goto and longjmp() and setjmp()? 50. Write a program to arrange the numbers in descending order using arrays?

You might also like