C Language Basics

C Language Basics

University

26 Qs

quiz-placeholder

Similar activities

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

Quiz - I

Quiz - I

University - Professional Development

25 Qs

ITSA Selection Round 1

ITSA Selection Round 1

University

27 Qs

OCS752_CP_MODEL 3_PART A

OCS752_CP_MODEL 3_PART A

University

30 Qs

Play with C

Play with C

University

30 Qs

Programming Round 1

Programming Round 1

12th Grade - University

21 Qs

C- Geniusia

C- Geniusia

University

25 Qs

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

C Language Basics

C Language Basics

Assessment

Quiz

Computers

University

Hard

Created by

Dr Reddy

Used 77+ times

FREE Resource

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

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?