Code Twisters Round 1 Demo

Code Twisters Round 1 Demo

University

10 Qs

quiz-placeholder

Similar activities

Operasi Input & Output C++

Operasi Input & Output C++

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

Session 02: Variable - Data types - Operators

Session 02: Variable - Data types - Operators

University

14 Qs

Quiz Lógica de Programação em C Aula 1

Quiz Lógica de Programação em C Aula 1

University

15 Qs

Типы данных. Переменные. Операции в Java

Типы данных. Переменные. Операции в Java

University

10 Qs

Quiz Pengetahuan Tipe Data

Quiz Pengetahuan Tipe Data

10th Grade - University

6 Qs

CMDP2063 Unix and C Programming (Revision)

CMDP2063 Unix and C Programming (Revision)

University

15 Qs

Quiz Pemrograman Arduino

Quiz Pemrograman Arduino

10th Grade - University

15 Qs

Code Twisters Round 1 Demo

Code Twisters Round 1 Demo

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

SUNIL RAJ B

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

1. What is the format specifier for printing an integer in C?

%d

%c

%f

%s

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

2. Which operator is used to get the address of a variable?

*

&

-

@

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

3. Which of the following is a correct syntax to declare a pointer?

*int p;

int p*;

int *p;

int p;

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

4. Which function is used to read a string from standard input?

scanf()

fgets()

getch()

gets()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

5. Which loop guarantees at least one execution of the loop body?

for loop

do-while loop

while loop

None of the Above

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

6. What will be the output of printf("%d", 5/2);?

2

2.5

3

0

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

7. What is the return type of the malloc() function?

int

char*

void*

float*

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?