
C Programming (Veri Tipi Dönüşümleri)

Quiz
•
Computers
•
University
•
Hard

Emsal Academy
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#include <stdio.h>
void main()
{
float x = 0.1;
if (x == 0.1)
printf("Sanfoundry");
else
printf("Advanced C Classes");
}
Advanced C Classes
Sanfoundry
Run time error
Compile time error
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#include <stdio.h>
void main()
{
float x = 0.1;
printf("%d, ", x);
printf("%f", x);
}
0.100000, junk value
Junk value, 0.100000
0, 0.100000
0, 0.999999
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Not: Başlangıç değerleri: x= 7, y = 8
#include <stdio.h>
void main()
{
float x;
int y;
printf("enter two numbers \n");
scanf("%f %f", &x, &y);
printf("%f, %d", x, y);
}
7.000000, 8
Run time error
7.000000, junk
Varies
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#include <stdio.h>
void main()
{
double x = 123828749.66;
int y = x;
printf("%d\n", y);
printf("%lf\n", y);
}
0, 0.0
123828749, 123828749.66
12382874, 12382874.0
123828749, 0.000000
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#include <stdio.h>
void main()
{
int x = 97;
char y = x;
printf("%c\n", y);
}
a
b
97
Run time error
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#include <stdio.h>
int main()
{
unsigned int i = 23;
signed char c = -23;
if (i > c)
printf("Yes\n");
else if (i < c)
printf("No\n");
}
Yes
No
Depends on the compiler
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#include <stdio.h>
int main()
{
int i = 23;
char c = -23;
if (i < c)
printf("Yes\n");
else
printf("No\n");
}
Yes
No
Depends on the compiler
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
BASIC C QUIZ

Quiz
•
University
15 questions
Coding and Debugging

Quiz
•
University
15 questions
module3

Quiz
•
University
6 questions
sample qizz

Quiz
•
University
15 questions
C++ Quiz-1

Quiz
•
University
10 questions
c basic

Quiz
•
University
10 questions
FLASH

Quiz
•
University
10 questions
C quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University