Online Test for C
- The best data structure to check whether an arithmetic expression has balanced parenthesis is a
QueueStackTreeList
- Which of the following is valid commenting style in C?
/* comment */// comment/* Comment line 1 <br> Comment line 2 */All of the above
- Find Error/Output in follwing code:
void main ()
{
int x = 128;
printf ("n%d", 1 + x++);
}
128
129
130
131
- Type of data and its value is described dy
ConstantsVariablesData TypeNone of the above
- What is the purpose of getc()?
read a character from STDINread a character from a fileread all fileread file randomly
- Why we use malloc and calloc for
Dynamic memory allocationStatic memory allocationBoth dynamic and static memory allocationNone of the above
- Blank spaces may be inserted between two words to improve the readability of the statement.
TrueFalse
- #define is known as preprocessor compiler directive.
TrueFalse
- The _______ memory allocation function modifies the previous allocated space.
callocfreemallocrealloc
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