Search Header Logo

C Language Basics

Authored by Dr Reddy

Computers

University

Used 100+ times

C Language Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which header file is required to perform standard input and output opeartions

math.h

stdio.h

input.h

io.h

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct identifier?

int

1ab

a_123

a 123

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

what is the output of the following statement?

printf("hi\nhello\nhow\bare\ryou");

hi

hello

how

are

you

hi

hello

hoare

you

hi

hello

youre

hi

hello

youare

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the father of C language?

Dennis Ritche

Charles Babbage

Steve Jobs

V Kohli

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C variable name?

int num;

float price;

char a_s;

int $total;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The C-preprocessors are specified with _________ symbol.

$

#

&

*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the sizeof(char) in a 32-bit C compiler?

1 bit

2 bits

1 byte

2 bytes

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?