Online Test for C
- Which of the following is a Compound assignment operators?
+=*=/=All the above
- Find Error/Output in follwing code:
int main()
{
int a = 10, b = 25;
a = b++ + a++;
b = ++b + ++a;
printf("%d %d n", a, b);
}
36 64
35 62
36 63
30 28
- A zero value is considered to be false and a non-zero value is considered to be true.
TrueFalse
- A file opened for writing already exists its contents would be overwritten.
TrueFalse
- The _______ memory allocation function modifies the previous allocated space.
callocfreemallocrealloc
- Which of the following is NOT a valid Real Constant?
+345.2345 22.220.000564-3.2
- What is %f, %d, %s and %c?
Number SpecifierFormat SpecifierAccess SpecifierNone of the above
- Which of the following is correct set of keywords?
unsigned, external, typedef, signedunsigned, volatile, typedef, everyunsigned, volatile, typedef, sizeofNone of the above
- The keywords are also called
Safe wordsStatic wordsReserved wordsReused words
- Switch statement can have any number of case instances
TrueFalse
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