byte fusion

byte fusion

University

20 Qs

quiz-placeholder

Similar activities

C Programing

C Programing

University

25 Qs

BS TEST2

BS TEST2

University

20 Qs

C fundmentals

C fundmentals

University

18 Qs

Pointers in C

Pointers in C

University

24 Qs

Computer Quiz

Computer Quiz

12th Grade - University

16 Qs

Bridge course with C

Bridge course with C

University

20 Qs

PPS : Quiz 2

PPS : Quiz 2

University

15 Qs

C BOOTCAMP DAY 2

C BOOTCAMP DAY 2

University

20 Qs

byte fusion

byte fusion

Assessment

Quiz

Computers

University

Medium

Created by

Abhilashpoojar Abhilashpoojar

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in C?

Printf("Hello World"):

printf("Hello

World");

cout << "Hello World";

PrintF('hello world");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in C code?

// This is a comment

/// This is a comment

# This is a comment

*/ This is a comment/*

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to create a array in C?

Int{50}

Int [50];

Int [j]

Int a[12];

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to create a structure?

Str

struct

Structure

Structs

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is ptr in the following code known as? int* ptr = &myAge;

A parameter

A Class

A Pointer

A array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to stop a loop?

Exit

Stop

Break

Void

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement can be used to select one of many code blocks to be executed?

Switch

When

Break

Default

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?