
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
CODE ZENITH

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
7 questions
Union in c 10

Quiz
•
University
9 questions
c language quiz

Quiz
•
University
8 questions
Unit 2 : Operators

Quiz
•
University
10 questions
หน่วยที่ 3 การเขียนโปรแกรมแบบตามลำดับ

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University