C Language Basics

C Language Basics

University

26 Qs

quiz-placeholder

Similar activities

C Language Pre-Assessment

C Language Pre-Assessment

University

25 Qs

Debugging Showdown

Debugging Showdown

University

25 Qs

C Programming

C Programming

University - Professional Development

30 Qs

C-Programming

C-Programming

University

30 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

Progdas-Q1-2023-2

Progdas-Q1-2023-2

University

25 Qs

XTK022

XTK022

University

25 Qs

CODEZILLA 2022

CODEZILLA 2022

University

30 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?