Technical Quiz 2022-23

Technical Quiz 2022-23

University

50 Qs

quiz-placeholder

Similar activities

Trivia MKTD

Trivia MKTD

7th Grade - University

50 Qs

Ass3

Ass3

University - Professional Development

50 Qs

PTS 1 Informatika

PTS 1 Informatika

12th Grade - University

50 Qs

DS-UNIT-2-Stack Queue

DS-UNIT-2-Stack Queue

University

50 Qs

Midterm prep 10 gr

Midterm prep 10 gr

10th Grade - University

45 Qs

C PROGRAMMING -II INTERNALS EXAMINATIONS - SEP 2021

C PROGRAMMING -II INTERNALS EXAMINATIONS - SEP 2021

University

50 Qs

Technical Quiz 2022-23

Technical Quiz 2022-23

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Rohan Kumar

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the syntax to declare a variable in C?

var x;

int x;

declare x;

define x;

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a valid C data type?

int

float

char

string

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the size of the 'int' data type in C on most systems?

4 bytes

8 bytes

2 bytes

1 byte

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operator is used for pointer-to-member access in C?

.

->

::

[]

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How is a single-line comment written in C?

// Comment

/* Comment */

# Comment

' Comment

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function is used to allocate memory dynamically in C?

alloc()

malloc()

new()

allocate()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the escape sequence for a newline character in C?

\n

\r

\t

\b

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?