Home / Study library / Programming in C / End Term · Sep 2023 Programming in C · End Term · Sep 2023 · AN
Programming in C · End Term · Sep 2023 AN
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 25 published solutions
Q102 Q103 Q104 Q105 Q106 Q107 Q108 Q109 Q110 Q111 Q112 Q113 Q114 Q115 Q116 Q117 Q118 Q119 Q120 Q121 Q122 Q123 Q124 Q125 Q126
Question 102 MCQ · 4.0 marks 6406532335161. Value of a is 30
Value of a is 30
6406532335162. Value of a is 30
Value of a is 10
6406532335163. Value of a is 10
Value of a is 10
6406532335164. Value of a is 10
Value of a is 30
A published solution is not available for this question yet.
Report a correction for Q102
Question 103 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q103
Question 104 MCQ · 4.0 marks 6406532335174. Compile Time Error
A published solution is not available for this question yet.
Report a correction for Q104
Question 105 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q105
Question 106 MCQ · 4.0 marks 6406532335193. The value is: 4
6406532335194. The value is: 8
6406532335195. The value is: 16
6406532335196. The value is: 2
A published solution is not available for this question yet.
Report a correction for Q106
Question 107 MCQ · 4.0 marks Consider an integer variable holding a value “0x89209899”. Suppose the available memory
addresses are starting from the address “0x128” in a machine, which of the following stores this
multibyte data in the little endian way?
6406532335197. 6406532335198. 6406532335199. 6406532335200. A published solution is not available for this question yet.
Report a correction for Q107
Question 108 MCQ · 4.0 marks Which of the following statements about array initialization in C is correct?
6406532335201. Arrays can only be initialized at the time of declaration.
6406532335202. Arrays can be initialized both at the time of declaration and later in the
program.
6406532335203. Arrays can only be initialized with integer values.
6406532335204. The index of the first element in an array is always 1.
A published solution is not available for this question yet.
Report a correction for Q108
Question 109 MCQ · 4.0 marks 6406532335210. Hello C Programming !!
6406532335211. Hello C Programming
6406532335212. C Programming
6406532335213. C Programming !!
6406532335214. Programming
6406532335215. Programming !!
A published solution is not available for this question yet.
Report a correction for Q109
Question 110 MCQ · 4.0 marks 6406532335216. 6406532335217. 6406532335218. 6406532335219. A published solution is not available for this question yet.
Report a correction for Q110
Question 111 MCQ · 4.0 marks
What will be the output of the above program?
A published solution is not available for this question yet.
Report a correction for Q111
Question 112 MCQ · 4.0 marks Which of the following statements is true about unions in C?
6406532335224. Unions allow you to store values of different data types at a time in different
members.
6406532335225. Unions can only contain elements of the same data type.
6406532335226. Unions always consume more memory than structs.
6406532335227. Unions are used to define functions.
A published solution is not available for this question yet.
Report a correction for Q112
Question 113 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q113
Question 114 MCQ · 4.0 marks 6406532335236. *(*A + i*R + j)
6406532335237. *(*A + j*C + i)
6406532335238. *(*A + i*C + j)
6406532335239. *(*A + j*R + i)
A published solution is not available for this question yet.
Report a correction for Q114
Question 115 MCQ · 4.0 marks 6406532335244. Remove all data from file and write "1,2,3" to "numbers.txt".
6406532335245. Remove all data from file and write "1 2 3" to "numbers.txt".
6406532335246. Appends "1,2,3" to "numbers.txt".
6406532335247. Appends "1 2 3" to "numbers.txt".
A published solution is not available for this question yet.
Report a correction for Q115
Question 116 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q116
Question 117 MCQ · 4.0 marks 6406532335255. Compilation error
A published solution is not available for this question yet.
Report a correction for Q117
Question 118 MCQ · 4.0 marks Which of the following preprocessor directives is used to define macros in C?
A published solution is not available for this question yet.
Report a correction for Q118
Question 119 MSQ · 4.0 marks Which of the following statements is/are true regarding functions in C Language?
6406532335170. A function signature must indicate the data type of all the function
parameters.
6406532335171. A function signature must indicate the variable names for the function
parameters.
6406532335172. A function does not always return a value.
6406532335173. A function cannot accept more than 2 parameters.
A published solution is not available for this question yet.
Report a correction for Q119
Question 120 MSQ · 4.0 marks In C, which of the following is/are valid operations on pointer variables? (Select all that apply)
6406532335183. Dividing one pointer variable by another pointer variable.
6406532335184. Comparing two pointers variables for equality.
6406532335185. Incrementing/Decrementing a pointer variable (e.g. ptr++/ ptr–).
6406532335186. Multiplying two pointer variables.
A published solution is not available for this question yet.
Report a correction for Q120
Question 121 MSQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q121
Question 122 MSQ · 4.0 marks 6406532335206. 6406532335207. 6406532335208. 6406532335209. A published solution is not available for this question yet.
Report a correction for Q122
Question 123 MSQ · 4.0 marks 6406532335228.
6406532335229. 6406532335230. 6406532335231. A published solution is not available for this question yet.
Report a correction for Q123
Question 124 MSQ · 4.0 marks 6406532335240. The function allocates the memory for a 2D array at the time of compilation.
6406532335241. The function dynamically allocates the memory for a 2D array.
6406532335242. The function does not initialize the elements of the 2D array.
6406532335243. The function initializes all the elements of the 2D array with 0.
A published solution is not available for this question yet.
Report a correction for Q124
Question 125 NAT · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q125
Question 126 NAT · 4.0 marks
**Note:** The answer must be an integer. For Ex: If the answer is 32, you must enter 32 only.
A published solution is not available for this question yet.
Report a correction for Q126