C PRogram

C PRogram

University

14 Qs

quiz-placeholder

Similar activities

Dan and Phil

Dan and Phil

KG - University

10 Qs

The GOAT Quiz

The GOAT Quiz

KG - Professional Development

11 Qs

C PROGRAMMING

C PROGRAMMING

University

15 Qs

C++  quiz

C++ quiz

University

15 Qs

Formatted Input and Output in C

Formatted Input and Output in C

University

10 Qs

Together We Grow - 2

Together We Grow - 2

University

15 Qs

Basics of Programming with C

Basics of Programming with C

University

17 Qs

Day-1 Pre Assessment(Essentials of Data Analytics Using R)

Day-1 Pre Assessment(Essentials of Data Analytics Using R)

University

15 Qs

C PRogram

C PRogram

Assessment

Quiz

Other

University

Medium

Created by

ALAN SANTO

Used 5+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Syntax to print something in c program?

print('Hello, World!');
echo 'Hello, World!';
printf("Hello, World!\n");
console.log('Hello, World!');

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C is ______ level language.

low-level
assembly-level
high-level
machine-level

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a variable is created in C, a memory address is assigned to the variable.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Year of release of C Languange

1968

1975
1980

1972

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Difference between C and C++

C is a high-level language; C++ is low-level.

C is used for web development; C++ is used for system programming.

C is procedural; C++ is object-oriented.

C supports classes; C++ does not.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is #include <stdio.h>

It is a command to compile C programs.
It includes the graphics library in C.
It includes the standard input-output library in C.
It defines the main function in C.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to add New line in C Program

Use 'printf("Hello, World!\r");' to add a new line.
Use '\n' in your printf statement, e.g., printf("Hello, World!\n");
Use 'newline' in your printf statement.
Use '\t' in your printf statement.

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?