Search Header Logo

C_Quiz

Authored by Sangeetha Mary

Information Technology (IT)

University

Used 1+ times

C_Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which among the following is the conditional operator?

dot(.)

&

*

? :

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In an array, the first element is always stored at the index number ____________.

0

1

-1

Depends on compiler

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The library function used to find the length of a string is .........

strcpy()

strlen()

strcat()

strcmp()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

...........is a variable that can hold the memory address of

another variable.

Array

Pointer

Structure

Function

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the default storage class for a variable declared inside a function?

register


static

auto

extern

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

...........function used to dynamically de-allocate a memory

malloc()


calloc()

realloc()

free()

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

_____ function is used to read a character from a file.

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?