

MCQOPTIONS
Saved Bookmarks
This section includes 565 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
201. |
Variables of type auto, static and extern are all stored in .? |
A. | ROM |
B. | RAM |
C. | CPU |
D. | Compiler |
Answer» C. CPU | |
202. |
A register variable is stored in a Register. Where does a Register Present in a Computer.? |
A. | RAM ( Random Access Memory ) |
B. | ROM ( Read Only Memory ) |
C. | CPU (Central Processing Unit ) |
D. | DMA ( Direct Memory Access ) |
Answer» D. DMA ( Direct Memory Access ) | |
203. |
Choose a right answer. |
A. | auto variable is stored in 'Memory'. |
B. | auto variable is stored in 'Memory'. |
C. | auto variable is stored in 'Register'. |
D. | auto variable is stored in 'Register'. |
Answer» C. auto variable is stored in 'Register'. | |
204. |
What is the default C Storage Class for a variable.? |
A. | static |
B. | auto |
C. | register |
D. | extern |
Answer» C. register | |
205. |
Find a C Storage Class below. |
A. | static |
B. | auto |
C. | register & extern |
D. | All the above |
Answer» E. | |
206. |
Every C Variable must have.? |
A. | Type |
B. | Storage Class |
C. | Both Type and Storage Class |
D. | Either Type or Storage Class |
Answer» D. Either Type or Storage Class | |
207. |
What is a C Storage Class.? |
A. | C Storage decides where to or which memory store the variable. |
B. | C Storage Class decides what is the default value of a variable. |
C. | C Storage Class decides what is the Scope and Life of a variable. |
D. | All the above. |
Answer» E. | |
208. |
Choose a correct C Statement using IF Conditional Statement. |
A. | if( condition ) |
B. | if( condition ) |
C. | if( condition1 ) |
D. | All the above. |
Answer» E. | |
209. |
Choose a statement to use C If Else statement. |
A. | else if is compulsory to use with if statement. |
B. | else is compulsory to use with if statement. |
C. | else or else if is optional with if statement. |
D. | None of the above |
Answer» D. None of the above | |
210. |
Choose a correct statement regarding C Comparison Operators. |
A. | (x == y) Is x really equal to y. |
B. | (x < y) Is x less than y |
C. | (x <= y) Is x less than or equal to y. |
D. | All the above |
Answer» E. | |
211. |
What is the output of the C Program.? |
A. | compiler error |
B. | 14 |
C. | 41 |
D. | 0 |
Answer» D. 0 | |
212. |
What is the output of the C statement.? |
A. | 4 |
B. | 3 |
C. | 5 |
D. | 2 |
Answer» C. 5 | |
213. |
Choose a syntax for C Ternary Operator from the list. |
A. | condition ? expression1 : expression2 |
B. | condition : expression1 ? expression2 |
C. | condition ? expression1 < expression2 |
D. | condition < expression1 ? expression2 |
Answer» B. condition : expression1 ? expression2 | |
214. |
What is the other name for C Language ?: Question Mark Colon Operator.? |
A. | Comparison Operator |
B. | If-Else Operator |
C. | Binary Operator |
D. | Ternary Operator |
Answer» E. | |
215. |
Choose a C Conditional Operator from the list. |
A. | ?: |
B. | :? |
C. | :< |
D. | <: |
Answer» B. :? | |
216. |
If you do not specify a storage class for a Variable.? |
A. | You get compiler error. |
B. | You get a compiler warning. |
C. | Output is null always |
D. | None of the above |
Answer» E. | |
217. |
Left most bit 0 in Singed representation indicates.? |
A. | A Positive number |
B. | A Negative Number |
C. | An Unsigned number |
D. | None of the above |
Answer» B. A Negative Number | |
218. |
Range of float variable is.? |
A. | -3.2e38 to +3.2e38 |
B. | -3.8e32 to +3.8e32 |
C. | -3.4e34 to +3.4e34 |
D. | -3.4e38 to +3.4e38 |
Answer» E. | |
219. |
Range of singed long and unsigned long variables are.? |
A. | -2147483647 to +2147483648 |
B. | -2147483648 to +2147483647 |
C. | -2147483648 to +2147483647 |
D. | 0 to 4294967295 |
Answer» D. 0 to 4294967295 | |
220. |
Size of float, double and long double in Bytes are.? |
A. | 4, 8, 16 |
B. | 4, 8, 10 |
C. | 2, 4, 6 |
D. | 4, 6, 8 |
Answer» C. 2, 4, 6 | |
221. |
Ranges of signed int and unsigned int are.? |
A. | 0 to 65535 |
B. | -32768 to +32767 |
C. | -32767 to +32768 |
D. | 0 to 65536 |
Answer» C. -32767 to +32768 | |
222. |
Range of signed char and unsigned char are.? |
A. | -128 to +127 |
B. | 0 to 255 |
C. | -128 to -1 |
D. | 0 to +127 |
Answer» B. 0 to 255 | |
223. |
Sizes of short, int and long in Visual Studio or GCC compiler in bytes are.? |
A. | 2, 2, 4 |
B. | 2, 4, 4 |
C. | 4, 4, 8 |
D. | 4, 8, 8 |
Answer» C. 4, 4, 8 | |
224. |
Sizes of short, int and long in a Turbo C C++ compiler in bytes are.? |
A. | 2, 2, 4 |
B. | 2, 4, 4 |
C. | 4, 8, 16 |
D. | 8, 8, 16 |
Answer» B. 2, 4, 4 | |
225. |
Size of a GCC or Visual Studio C Compiler is.? |
A. | 16 bit |
B. | 32 bit |
C. | 64 bit |
D. | 128 bit |
Answer» C. 64 bit | |
226. |
Size of a Turbo C C++ compiler is.? |
A. | 16 bit |
B. | 32 bit |
C. | 64 bit |
D. | 128 bit |
Answer» B. 32 bit | |
227. |
signed and unsigned representation is available for.? |
A. | short, int, long, char |
B. | float, double, long double |
C. | A & B |
D. | None of the above |
Answer» D. None of the above | |
228. |
Types of Real numbers in C are.? |
A. | float |
B. | double |
C. | long double |
D. | All the above |
Answer» E. | |
229. |
Types of Integers are.? |
A. | short |
B. | int |
C. | long |
D. | All the above |
Answer» E. | |
230. |
Find a correct C Keyword. |
A. | Float |
B. | Int |
C. | Long |
D. | double |
Answer» E. | |
231. |
Find a correct C Keyword below. |
A. | breaker |
B. | go to |
C. | shorter |
D. | default |
Answer» E. | |
232. |
Identify wrong C Keywords below. |
A. | auto, double, int, struct |
B. | break, else, long, switch |
C. | case, enum, register, typedef |
D. | char, extern, intern, return |
Answer» E. | |
233. |
Choose a correct C Statement. |
A. | Nesting of ? : operator is possible. |
B. | int main() |
C. | int main() |
D. | All the above |
Answer» E. | |
234. |
Choose a correct C Operator Priority.? |
A. | ( ! ) < (*, /, %) < (+, -) < ( <, <=, >, >=) < (==, !=) < (&&) < (||) < (=) |
B. | (( ! ) , (*, /, %) , (+, -)) < ( <, <=, >, >=) < (==, !=) < (&&) < (||) < (=) |
C. | ( ! ) > (*, /, %) > (+, -) > ( <, <=, >, >=) > (==, !=) > (&&) > (||) > (=) |
D. | (( ! ) , (*, /, %) , (+, -)) > ( <, <=, >, >=) > (==, !=) > (&&) > (||) > (=) |
Answer» D. (( ! ) , (*, /, %) , (+, -)) > ( <, <=, >, >=) > (==, !=) > (&&) > (||) > (=) | |
235. |
What is the Priority of C Logical Operators.? NOT (!), AND (&&) and OR (||) |
A. | NOT (!) > AND (&&) > OR (||) |
B. | NOT (!) > AND (&&) = OR (||) |
C. | AND (&&) > OR (||) > NOT (!) |
D. | AND (&&) = OR (||) > NOT (!) |
Answer» B. NOT (!) > AND (&&) = OR (||) | |
236. |
What is the output of C Program.? |
A. | No Output |
B. | Boxing |
C. | Golf |
D. | Polo |
Answer» E. | |
237. |
Choose a correct statement. |
A. | C Compiler converts your C program into machine readable language. |
B. | C Editor allows you to type C Programs. It is just like a Notepad with extra options. |
C. | Console shows the output of a C Program if it is text output. |
D. | All the above |
Answer» E. | |
238. |
Each statement in a C program should end with.? |
A. | Semicolon ; |
B. | Colon : |
C. | Period . (dot symbol) |
D. | None of the above. |
Answer» B. Colon : | |
239. |
Number of Keywords present in C Language are .? |
A. | 32 |
B. | 34 |
C. | 62 |
D. | 64 |
Answer» B. 34 | |
240. |
Choose a right statement. |
A. | int myage = 10; |
B. | int myage = 10; |
C. | int myage = 10; |
D. | All are right |
Answer» B. int myage = 10; | |
241. |
A Variable of a particular type can hold only a constant of the same type. Choose right answer. |
A. | TRUE |
B. | FALSE |
C. | It depends on the place the variable is declared. |
D. | None of the above. |
Answer» B. FALSE | |
242. |
Find a Character constant. |
A. | 'A' |
B. | '1' |
C. | '$' |
D. | All the above. |
Answer» E. | |
243. |
Find a Floating Point constant. |
A. | 12.3E5 |
B. | 12e34 |
C. | 125.34857 |
D. | All the above. |
Answer» E. | |
244. |
Find an integer constant. |
A. | 3.145 |
B. | 34 |
C. | "125" |
D. | None of the above |
Answer» C. "125" | |
245. |
Choose correct statements |
A. | A constant value does not change. |
B. | A constant can change its values. |
C. | There is no restriction on number of values for constants or variables. |
D. | Constants and Variables can not be used in a singe main function. |
Answer» B. A constant can change its values. | |
246. |
What are the types of Constants in C Language.? |
A. | Primary Constants |
B. | Secondary Constants |
C. | Basic Constants and Advanced Constants |
D. | Primary Constants and Secondary Constants |
Answer» E. | |
247. |
C Programs are used in .? |
A. | Any Electronic device which works on some logic and Operating System. |
B. | Washing machine |
C. | Fridge, Microwave Ovens |
D. | All the above. |
Answer» E. | |
248. |
An Identifier can start with.? |
A. | Alphabet |
B. | Underscore ( _ ) sign |
C. | Any character that can be typed on a keyboard |
D. | Option A & Option B |
Answer» E. | |
249. |
What is length of an Identifier that is unique for Non Global Variables and Non Function Names.? |
A. | 32 |
B. | 63 |
C. | 64 |
D. | 68 |
Answer» C. 64 | |
250. |
What is the number of characters used to distinguish Identifier or Names of Functions and Global variables.? |
A. | 31 |
B. | 32 |
C. | 33 |
D. | 28 |
Answer» B. 32 | |