NEW
Font size
WorksheetsC Quiz
Total questions: 12
Worksheet time: 6mins
Who is known as the father of C Language ?
James A. Sosling
Vjarne Stroustrup
Dennis Ritchie
Dr. E. F. Codd
C Language was developed in the year ____
1970
1975
1985
1980
A C variable name can start with a ____
Number
Plus Sign (+)
Underscore
Asterisk (*)
All keywords in C are in ____________
Lowercase
Uppercase
Camelcase
None of these
A translator which reads an entire program written in a high level language and converts it into machine language code is:
Assembler
Compiler
Linker
Loader
The functions printf() and scanf() are defined in which of the following library file:-
math.h
conio.h
stdio.h
stdlib.h
Which is variable declaration?
int a,b;
c=a+b;
printf("%d%d",a,b)
scanf("%d%d",&a,&b);
Which is the only function all C programs must contain?
start()
system()
printf()
main()
Which of the following is not a correct variable type?
float
real
int
char
C Language is developed at ___________?
AT & T's Bell Laboratories of USA in 1972
AT & T's Bell Laboratories of USA in 1970
Sun Microsystems in 1973
Cambridge University in 1972
A name having a few letters, numbers and special character _(underscore) is called
keywords
reserved keywords
tokens
identifiers
Find error/ output in following 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
