Toggle navigation
Terms & Conditions
Contact
Home
GK
Computer
TRB
TNPSC
Aptitude
English
Reasoning
Technical
Bank Exams
SSC
Engineering
Puzzles
Interview
GD Topics
Blogs
Online Test
Free computer quiz Online Test - MeritNotes
Home
Online Exam
No. of Questions :10
Remaining Time :
1. Which of the following statement is true about continue statement?
(a)
It can be used in conjunction with switch statement.
(b)
It terminates the loop.
(c)
It terminates the current iteration.
(d)
None of above
2. A structure is a data type in which
(a)
Elements can be of different type.
(b)
Each element must have the same type.
(c)
Each element must be of pointer type.
(d)
None of above
3. The operators exclusively used with pointers are
(a)
* and /
(b)
& and *
(c)
& and ^
(d)
* and +
4. The continue statement is used to
(a)
Continue execution of the program error occurs.
(b)
Exit from the outermost block even it is used in the innermost block.
(c)
Exit the block of loop statement.
(d)
Continue the next iteration of the loop statement.
5. Preprocessor does not which one of the following?
(a)
Macro expansion
(b)
Conditional compilation
(c)
Loading include file
(d)
Type checking
6. The storage class controls
(a)
Scope of a variable
(b)
Life time of a variable
(c)
Both a and b
(d)
None of above
7. Union differs from structure in the following way
(a)
Only one member can be used at a time.
(b)
Unions cannot have more than two members.
(c)
Union initializes all members as structure.
(d)
All members are used at a time.
8. The C language provides a way to access contents of a file from a program using
(a)
System calls
(b)
Library function
(c)
Both a and b
(d)
None of above
9. Which of the following is not a valid reason for using functions?
(a)
They use less memory than repeating the same code.
(b)
They keep different program activities separate.
(c)
They run faster.
(d)
They keep variables safe from other parts of the program.
10. Which of the following statement is true about register storage class?
(a)
Variable always stored in processor registers.
(b)
Can only be used with integral data types and pointers.
(c)
Variable takes initial value 0 if not initialized.
(d)
None of above