Online Test for C
- Select best option to consturct Real Constant
An real constant must have at least one digit that can be either positive or negativeMust have a decimal pointNo comma or blank allowed within real constantAll of the above
- 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
- The statement printf("%c", 100); will print?
prints 100print garbageprints ASCII equivalent of 100None of the above
- Find Error/Output in follwing code:
int main ()
{
int check = 2;
switch (check)
{
case 1:
printf ("D.W.Steyn");
case 2:
printf (" M.G.Johnson");
case 3:
printf (" Mohammad Asif");
default:
printf (" M.Muralidaran");
}
return 0;
}
D.W.Steyn
D.W.Steyn M.G.Johnson
M.G.Johnson
M.G.Johnson Mohammad Asif M.Muralidaran
- Which of the following is a valid Integer Constant?
35,753 455+3333*56
- C programs are converted into machine language with the help of
An EditorA compilerAn operating systemNone of the above
- continue keyword skip one iteration of loop?
TrueFalse
- How many keywords in C?
30323833
- Two case constants within the same switch statement can have the same value.
TrueFalse
- C is ______ Language?
Low LevelHigh LevelAssembly LevelMachine Level
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