c_programming_1

Quiz
•
Education
•
University
•
Medium
coding everyone
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int a = 3.5 + 4.5;
a = 0
a = 7
a = 8.0
a = 8
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h>
int main(){
int x= 5*9/3+9;
printf("%d",x);
return 0;
}
8
24
25
None
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int main()
{
float c = 3.5 + 4.5;
printf("%f", c);
return 0;
}
7
8
9
8.000000
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is it possible to run program without main() function?
yes
no
may be
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many main() function we can have in our project?
1
2
no limit
depends on the program
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int x = 10;
int main()
{
int x = 0;
printf("%d",x);
return 0;
}
10
0
compile error
undefined
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What should be the output:
int main()
{
int a = 10/3;
printf("%d",a);
return 0;
}
3.33
3.0
3
0
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
HYDRAULIC SYSTEM MAINTENANCE (LA1 DRAWING)

Quiz
•
University
12 questions
Квіз з програмування: Вказівники та динамічна пам'ять

Quiz
•
University
10 questions
RATIOS

Quiz
•
University
10 questions
1.0 Introduction To Fundamentals Of Programming

Quiz
•
University
19 questions
Chương 1 - Giới thiệu ngôn ngữ lập trình

Quiz
•
University
10 questions
III Part 3

Quiz
•
University
16 questions
DS Training QUIZ 1

Quiz
•
University
15 questions
Quiz on Data Types in C

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade