WorksheetsQuiz - 1
Total questions: 8
Worksheet time: 4mins
C language was developed by?
Charless babbage
Guindo Van Rossum
Dennis Ritchie
Tom Cruise
Java was developed at
Sonic Solutions
Sun Microsystems
Tata Consultancy Services
Centrum Wiskunde & Informatica
Python is a/an
Object Oriented Language
Interpreter
High-level
All of the above
#include <stdio.h>
int main() {
int num = 5;
printf("%d", num++ * 2);
return
0;
}
11
10
10.000000
9
Correct the syntax of for loop if it's wrong
For(I=0;I<6;;I++)
For(I=0:I<6;I++)
for(I=0;i<6;I++)
For(I=0;i<6;I++)
for(I=0;I<6;I++)
What C library should be included for the dynamic memory allocation?
stdio.h
stdlib.h
conio.h
iostream.h
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
int c = a++ + b--;
printf("%d", c);
retu
rn 0;
}
(a)
#include <stdio.h>
int main() {
int x = 5;
int y = 3;
int z = x % y;
printf("%d", z);
return 0;
}
(a)
