NEW
Font size
WorksheetsCODE JAM
Total questions: 25
Worksheet time: 23mins
:=
=
EQUAL
==
float
real
int
double
*/
comment
*/
**
comment
**
/*
comment
*/
{comment}
WHAT IS THE ONLY FUNCTION ALL C PROGRAM MUST CONTAIN?
start()
main()
system()
program()
By default any real number in i is treated as
a float
a long variable
depends upon memory model that you are using
a double
C program is a
high level language
low level language
high level language with some low level features
low level language with some high level features
ddfd
ffdf
ffff
0000
10 10
10
compilation error
NO OUTPUT
1
12
21
NO OUTPUT
5
Address of x
compile error
Run time error
nullg nullh
g nullh
g h
depends on compiler
32
16
8
4
2
3
4
error
4
8
9
6720
The switch feature
can always be replaced by a nested if then else clause
enhance logical clarity
cannot always be replaced by a nested if then else clause
both (a) and (b)
4 ,36
5, 36
4,45
Error:pointer cannot be substracted from one another
RED WHITE BLUE
RED
RED ERROR
RED WHITE BLUE ERROR
2 0
2 1
1 0
ERROR
2
10
5
7
result in bus error
result in segmentation violation error
will not compile successfully
none of the above
who is know as the father of computer
Charles Babbage
Martin Cooper
W. Rae Young
Mr. Abhinav pandey
who is know as the father of c program?
Bjarne Stroustrup
Dennis Ritchie
James Arthur Gosling
Guido van Rossum
In which year c programming language develop?
1973
1972
1974
1971
1-#include<stdio.h>
2-void main(){
3-printf.("hello world");
4-return 3:
5-}
in which line error is there?
2 and 4
4 and 3
3 and 2
no error
What are reserved words with a programming language?
void
long
else
all of the above
