Search Header Logo

DataTypes & Operators in C

Authored by Abdul Rahman

English

University

Used 5+ times

DataTypes & Operators in C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?