Online Test for C
- perror( ) function used to ?
Work same as printf()prints the error message specified by the compilerprints the garbage value assigned by the compilerNone of the above
- What is Dequeue?
Elements can be added from frontElements can be added to or removed from either the front or rearElements can be added from rearNone of the above
- A file opened for writing already exists its contents would be overwritten.
TrueFalse
- #define is known as preprocessor compiler directive.
TrueFalse
- The keywords cannot be used as variable names.
TrueFalse
- Which one of the following in-place sorting algorithms needs the minimum number of swaps?
Insertion SortQuick SortHeap SortSelection Sort
- Which of the following is allowed in a C Arithmetic instruction
[]{}()None of the above
- Why we use malloc and calloc for
Dynamic memory allocationStatic memory allocationBoth dynamic and static memory allocationNone of the above
- The correct way to round off a floating number x to an integer value is
y = int (x + 0.5)y = (int) (x + 0.5)y = (int) x + 0.5y = (int) ((int)x + 0.5)
- An array elements are always stored in _________ memory locations.
SequentialRandomSequential and RandomNone of the above
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015