DataTypes & Operators in C

DataTypes & Operators in C

University

15 Qs

quiz-placeholder

Similar activities

Byte the panel game

Byte the panel game

University

20 Qs

Test1

Test1

University

15 Qs

C-Programming

C-Programming

11th Grade - University

10 Qs

Hero's Journey

Hero's Journey

KG - University

14 Qs

MD2-3.1-Mảng

MD2-3.1-Mảng

University

11 Qs

Intro to LabVIEW, C, and Altium

Intro to LabVIEW, C, and Altium

University

15 Qs

Metric Conversion: Estimating & Diagramming Challenges

Metric Conversion: Estimating & Diagramming Challenges

5th Grade - University

10 Qs

DataTypes & Operators in C

DataTypes & Operators in C

Assessment

Quiz

English

University

Medium

Created by

Abdul Rahman

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the Structure of C

#include<stdio>

int main(){

}

#import<stdio>

int main(){

}

#include<stdio.h>

int main(){

}

@include<stdio.h>

int main(){

}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following is not an escaping sequence

\n

\t

\v

\h

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select the format specifiers for 'integer'

%d

%li

%i

%f

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Memory space for 'integer' dataType

2 or 4 bits

2 or 4 Bytes

4 or 8 Bytes

32 or 64 bits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is used to get the input from the user in C?

scanf();

printf();

scanner();

printer();

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the correct one to get the 'long' dataType from the User

scanf("%d",&a);

scanf("%li",&a);

scanf("%dl",&a);

scanf("%lf",&a);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Converting lower dataType to Higher DataType is called

Explicit Conversion

Export Conversion

import Conversion

Implicit Conversion

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for English