Search Header Logo

C Programming Concepts

Authored by Curtis Forbes

Computers

10th Grade - University

Used 1+ times

C Programming Concepts
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

Which of the following represents AND in C

++

||

&&

&

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents OR in C programming

&&

==

\\

||

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the statements is the correct way to declare a string in a C program ?

String name

string name

char name[ 10]

char name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to print from a string variable?

printf("%d", name);

printf("%s", name);

printf("%f", name);

printf("%c", name);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chose the incorrect statement

printf("%d", &number);

printf("%f", number);

printf("%lf", &number);

printf("%d", number);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which if the following is used for unbounded iterations

if

for

while

switch

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is and assignment?

sum == num

sum = num

sum + num

sum = != num

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?