Search Header Logo

Basic C Programming - Assignment Statement

Authored by Hafizul Hasmie

Education

12th Grade

Used 2+ times

Basic C Programming - Assignment Statement
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to declare a variable in C?

char

dec

int

var

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types available in C?

int, char, float, double

bool

string

void

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the arithmetic operator used for addition in C?

/

+

*

-

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to take input from the user in C?

print

getchar

scanf

input

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare an integer variable named 'num' in C?

num = int;

int num();

integer num;

int num;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to store decimal numbers in C?

float

decimal

long

double

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression '5 + 3 * 2' in C?

13

7

10

11

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?