Which conversion is not possible in c programming?
Day 3 C Programming quiz

Quiz
•
Computers
•
Professional Development
•
Hard

Phantom Techlogics
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int to float
float to char pointer
float to int
All of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which header file is needed to include to use typecasting?
stdin.h
math.h
ctype.h
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include<stdio.h>
int main()
{
double x = 1.2;
int sum = (int)x + 1;
printf("sum = %d", sum);
return 0;
}
what will be the value of the variable sum?
1
2
3
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of conversion is also called Automatic Type Conversion?
Implicit Type Conversion
Explicit Type Conversion
None of the above
Both A and B
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int a=40,b=20;
if (a>b) {
printf("a is greater than b");}
else if(a<b) {
printf("a is less than b"); }
else {
printf("a is equal to b");}
}
What is the output of the code?
a is greater than b
a is equal to b
a is less than b
compilation error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
switch(24.5)
{
case 24.5: printf("A ");break;
case 25.0: printf("B "); break;
default: printf("None ");
}
printf("Done");
}
What is the output of the above C Program?
Compiler error
Done
A , Done
B , Done
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int x = 5;
if (x < 1)
printf("x<1");
if (x == 5)
printf("x=5");
else
printf("none");
}
what is the output of the following code?
x=5
x<1
none
error
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
c-prog quiz

Quiz
•
Professional Development
13 questions
MindSpace Computers C Quiz-1 2025

Quiz
•
Professional Development
10 questions
C - Programming ( Output based - Loop )

Quiz
•
Professional Development
15 questions
Code X Trade

Quiz
•
Professional Development
10 questions
C Code Master lvl 2 A

Quiz
•
Professional Development
10 questions
Day 4 C Programming Quiz

Quiz
•
Professional Development
15 questions
C PROGRAMMING BASICS-QUIZ-1

Quiz
•
Professional Development
10 questions
pemrograman dasar

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade