NEW
Font size
WorksheetsC Language Quiz-1
Total questions: 15
Worksheet time: 8mins
Who is Father of C Language
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
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
C programs are converted into machine language with the help of
An Editor
A compiler
An operating system
None of these.
Which of the following is not a correct variable type?
float
real
int
char
int main ()
{
int x = 24, y = 39, z = 45;
z = x + y;
y = z - y;
x = z - y;
printf ("%d %d %d", x, y, z);
}
24 39 63
39 24 63
24 39 45
39 24 45
How many loops are there in C
1
3
2
4
C is a ____________ programming language
Object oriented Programming
Procedure oriented Programming
Structured programming language
Structure and Procedure Oriented Programming
_______________to be included to use standard I/O functions : prinf(),scanf()
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<math.h>
The user can also write one or more statements in one line by separating semicolon (;)
True
False
Which is correct example for variable declaration?
int a;b;c;
Int a,b,c;
int a,b,c;
int a,b;c;
The sizeof operator returns the size of its operand in bytes
True
False
Every C statement ends with ------------?
.
;
,
}
What is the extension of C program?
.cpp
.py
.c
.java
A sequence of instructions form a ------------.
syntax
program
both
none of these
