
C Programming : Data types and Operators
Authored by Shaik Imam
Professional Development
University
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is short int in C programming?
Qualifier
Short is the qualifier and int is the basic data type
All of the mentioned
The basic data type of C
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include
None of the mentioned
-128
128
Depends on the compiler
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is most suitable for storing a number 65000 in a 32-bit system?
signed short
int
unsigned short
long
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include
The compiler will flag an error
The program will compile and print the ASCII value of 5
The program will compile and print FAIL for 5 times
The program will compile and print the output 5
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the size of an int data type?
Cannot be determined
Depends on the system/compiler
4 Bytes
8 Bytes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The format identifier '%i' is also used for _____ data type.
char
int
double
float
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is correct with respect to the size of the data types?
char > int > float
double > char > int
int > char > float
char < int < double
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?