Search Header Logo

Programming In C

Authored by Raja Paulsingh

Computers, Professional Development, Education

5th Grade - Professional Development

Used 1+ times

Programming In C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

By default a real number is treated as a

float

double

long double

far double

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following correctly shows the hierarchy of arithmetic operations in C?

/ + * -

* - / +

+ - / *

/ * + -

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The keyword used to transfer control from a function back to the calling function is

switch

goto

go back

return

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?

.

&

*

->

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A pointer is

A keyword used to create variables

A variable that stores address of an instruction

A variable that stores address of other variable

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The operator used to get value at address stored in a pointer variable is

*

&

&&

||

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function is more appropriate for reading in a multi-word string?

printf();

scanf();

gets();

puts();

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?