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

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

University

11 Qs

quiz-placeholder

Similar activities

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

GIT COURSE

GIT COURSE

University

13 Qs

basic computer design

basic computer design

University

10 Qs

ความรู้เบื้องต้นเกี่ยวกับ Flash

ความรู้เบื้องต้นเกี่ยวกับ Flash

12th Grade - University

10 Qs

T02: Python - The Basics

T02: Python - The Basics

University

10 Qs

html

html

12th Grade - University

10 Qs

LATIHAN SOAL PEMROGRAMAN

LATIHAN SOAL PEMROGRAMAN

9th Grade - University

15 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

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

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

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Emsal Academy

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. #include <stdio.h>

  2. void main()

  3. {

  4. float x = 0.1;

  5. if (x == 0.1)

  6. printf("Sanfoundry");

  7. else

  8. printf("Advanced C Classes");

  9. }

Advanced C Classes

Sanfoundry

Run time error

Compile time error

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. #include <stdio.h>

  2. void main()

  3. {

  4. float x = 0.1;

  5. printf("%d, ", x);

  6. printf("%f", x);

  7. }

0.100000, junk value

Junk value, 0.100000

0, 0.100000

0, 0.999999

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. Not: Başlangıç değerleri: x= 7, y = 8

  2. #include <stdio.h>

  3. void main()

  4. {

  5. float x;

  6. int y;

  7. printf("enter two numbers \n");

  8. scanf("%f %f", &x, &y);

  9. printf("%f, %d", x, y);

  10. }

7.000000, 8

Run time error

7.000000, junk

Varies

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. #include <stdio.h>

  2. void main()

  3. {

  4. double x = 123828749.66;

  5. int y = x;

  6. printf("%d\n", y);

  7. printf("%lf\n", y);

  8. }

  1. 0, 0.0

123828749, 123828749.66

12382874, 12382874.0

123828749, 0.000000

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. #include <stdio.h>

  2. void main()

  3. {

  4. int x = 97;

  5. char y = x;

  6. printf("%c\n", y);

  7. }

a

b

97

Run time error

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. #include <stdio.h>

  2. int main()

  3. {

  4. unsigned int i = 23;

  5. signed char c = -23;

  6. if (i > c)

  7. printf("Yes\n");

  8. else if (i < c)

  9. printf("No\n");

  10. }

Yes

No

Depends on the compiler

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int i = 23;

  5. char c = -23;

  6. if (i < c)

  7. printf("Yes\n");

  8. else

  9. printf("No\n");

  10. }

Yes

No

Depends on the compiler

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?