C Programming
C Programming
1
35. What is the meaning and use of ‘register’ keyword?
36. What is the meaning and use of ‘type of’?
37. Which is the only ‘compile-time’ operator in C?
38. What is the difference between memcpy and memmove functions?
39. Which operator in C can result in ‘divide by zero’ error other than the/operator?
40. In C, why is that arrays are low-level in nature, compared to the support of strings in other languages
(like Java or Pascal)?
41. Give some examples of cases/situations where volatile keyword is needed.
42. What do you mean by pointer arithmetic and how is it different from ordinary (usual) arithmetic?
43. What is the ‘clockwise rule’ for reading/understanding complex declarations in C?
44. Describe the following prototype for signal function (provided in <signal.h> in standard C library)
45. What are important memory areas in a C program under execution? Briefly explain the purpose of each
of these areas.
46. What is a function prototype and why is/it necessary?
47. What is a function pointer and how to you initialise and use a function pointer?
48. What is the difference between pre-increment and post-increment operators?
49. What is a declaratory and what is its significance?
50. What is the difference between the following typedef’s and #define’s in the two set of statement below?
51. What is the difference between ‘char arr[ ]’ and ‘char * arr’?
52. What is a NULL pointer?
53. What is a memory leak?
54. What is the problem with the following code segment?
55. After the calls to the following fseek function, what will be the position of the file marker?
💧💧💧💧