NEW
Font size
WorksheetsC Programming - Unit 1 MCQ
Total questions: 15
Worksheet time: 8mins
Who invented C Language?
Charles Babbage
Grahambel
Dennis Ritchie
Steve Jobs
C language was invented in which laboratories.?
Uniliver Labs
IBM Labs
AT&T Bell Labs
Verizon Labs
C language was invented in the year.?
1999
1978
1972
1990
C is a which level language.?
Low Level
High Level
Low + High
None
Which one of the following is not a reserved keyword for C
auto
case
main
register
A C variable cannot start with
A number
A special symbol other than underscore
Both of the above
An alphabet
A standard ANSI C recognizes______ number of keywords
30
32
24
40
Which is the only function all C programs must contain?
start()
system()
main()
getch()
Each statement in a C program should end with.?
Semicolon ;
Colon :
Period . (dot symbol)
None of the above.
Operator % in C Language is called.?
Percentage Operator
Quotient Operator
Modulus
Division
What is the priority of operators *, / and % in C language.?
* > / > %
% > * > /
Both % = / , * are same
All three operators *, / and % are same.
What is the output of the following statement?
int i=0;
printf("%d \n %d", i, i++);
0 1
1 1
1 0
All the above
Which of the following is a storage specifier?
enum
union
auto
volatile
What is the control character for “a single character”.
%c
%d
%f
%s
The number of relational operators in the C language is
4
6
3
1
