int main()
{
int a = 10, b = 25;
a = b++ + a++;
b = ++b + ++a;
printf("%d %d n", a, b);
}
C Programming Midterm Review
Quiz
•
Computers
•
11th - 12th Grade
•
Medium
Robert Madera
Used 85+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main ()
{
int x = 24, y = 39, z = 45;
z = x + y;
y = z - y;
x = z - y;
printf ("n%d %d %d", x, y, z);
}
24 39 63
39 24 63
24 39 45
39 24 45
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is Father of C Language
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C programs are converted into machine language with the help of
An Editor
A compiler
An operating system
None of these.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the only function all C programs must contain?
start()
system()
printf()
main()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a correct variable type?
float
real
int
char
40 questions
Latihan 1 PBO XI RPL 2
Quiz
•
10th Grade - University
44 questions
qrious1styr
Quiz
•
12th Grade
40 questions
PTS 2425 USB
Quiz
•
11th Grade
36 questions
Ulangan Harian Bersama
Quiz
•
9th - 12th Grade
39 questions
Quiz 2 - Math in Python
Quiz
•
11th Grade
45 questions
PTS - Informatika 11 MIA
Quiz
•
11th Grade
40 questions
Próbny INF.03 2022
Quiz
•
12th Grade
36 questions
PEKAN ULANGAN HARIAN RPL
Quiz
•
12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade