C Programming Questions Answers - Chapter 1
-
36. Wild pointer in C
- if pointer is pointing to a memory location from where variable has been deleted
- if pointer has not been initialized
- if pointer has not defined properly
- if pointer pointing to more than one variable
Answer And Explanation
Answer: Option B
Explanation:
-
37. Disadvantage of array in C is
- We can easily access each element
- It is necessary to declare too many variables
- It can store only one similar type of data
- None of above
Answer And Explanation
Answer: Option C
Explanation:
-
38. What is prototype of a function in C
- It is the return type of a function
- It is the return data of the function
- It is declaration of a function
- It is a datatype
Answer And Explanation
Answer: Option C
Explanation:
-
39. Any type of modification on the parameter inside the function will reflect in actual variable value can be related to
- call by value
- call by reference
- both of above
- none of above
Answer And Explanation
Answer: Option B
Explanation:
-
40. Size of void pointer is
- 1 byte
- 2 byte
- 4 byte
- 8 byte
Answer And Explanation
Answer: Option B
Explanation:
-
41. What is wild pointer in c
- a pointer which we need to write in future
- a pointer which has bad naming convention
- a pointer which has no limit
- a point which has not initialized
Answer And Explanation
Answer: Option D
Explanation: