ByteBattle2.0(C)

ByteBattle2.0(C)

University

30 Qs

quiz-placeholder

Similar activities

Tema 2 Interfaces y redes industruales

Tema 2 Interfaces y redes industruales

University

25 Qs

Ceramic Materials

Ceramic Materials

University

25 Qs

Valuación de Proyectos

Valuación de Proyectos

University

25 Qs

SCAVENGER

SCAVENGER

University

25 Qs

Instrumentation - Chap I & II

Instrumentation - Chap I & II

University

25 Qs

21CSS201T_COA

21CSS201T_COA

University

25 Qs

ARM Instruction Set Quiz

ARM Instruction Set Quiz

University

25 Qs

Programming Lab Quiz

Programming Lab Quiz

University

25 Qs

 ByteBattle2.0(C)

ByteBattle2.0(C)

Assessment

Quiz

Engineering

University

Easy

Created by

Shiva Gaur

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the extension of C programming files?

.txt

.c

.cpp

.java

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function is used to display output in C?

print()

System.out.println()

cout

printf()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which symbol is used to end a statement in C?

:

.

;

,

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a valid variable declaration in C?

int 1num

int num1;

int #num;

int num ;

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct syntax for a main function in C?

int main()

void main()

main()

public main()

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will the following code print? printf("Hello, World!");

Hello

World

Hello, World!

Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a valid comment in C?

# This is a comment

// This is a comment

/* This is a comment */

Both b) and c)

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?