C Language
Test
Model Test
Ebook
Quiz 1 : Basic
Quiz 2 : Variables & Datatypes
Index
C Language Home
Basic
9
Variables & Datatypes
9
Operators
1
Function & Procedure
1
Schools
Ebook
Question:
What is the correct value to return to the operating system upon the successful completion of a program?
A
-1
B
1
C
0
D
Programs do not return a value.
Note:
Not available
Show answer
Show Note
Report
Question:
What is the only function all C programs must contain?
A
start()
B
start()
C
main()
D
program()
Note:
Not available
Show answer
Show Note
Report
Question:
What punctuation is used to signal the beginning and end of code blocks?
A
{ }
B
-> and <-
C
BEGIN and END
D
( and )
Note:
Not available
Show answer
Show Note
Report
Question:
What punctuation ends most lines of C code?
A
.
B
;
C
:
D
'
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is a correct comment?
A
*/ Comments */
B
** Comment *
C
/* Comment */
D
{ Comment }
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is not a correct variable type?
A
float
B
real
C
int
D
double
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is the correct operator to compare two variables?
A
:=
B
=
C
equal
D
==
Note:
Not available
Show answer
Show Note
Report
Question:
Which type of language is C?
A
Object Oriented Language.
B
Procedure Oriented Language
C
Scripting Language
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
Which data type will you use to store numeric value which is always positive?
A
unsigned int
B
signed int
C
int
D
positive int
Note:
Not available
Show answer
Show Note
Report
Question:
C can run on which of the following environments?
A
DOS
B
Windows
C
Linux
D
All
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
Next
Last
/2
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd