Janus Agustus Gonzales
Quiz by , created more than 1 year ago

C online quiz

0
0
0
Janus Agustus Gonzales
Created by Janus Agustus Gonzales over 3 years ago
Close

Quiz 1

Question 1 of 5

1

These are objects to store values.

Select one of the following:

  • Assignment operator

  • Variable

  • float

  • int

Explanation

Question 2 of 5

1

Which is the correct way of declaring a variable in C?

Select one of the following:

  • float num 9;

  • float num = 9.5

  • float num = 9;

  • float 1num = 9.5;

Explanation

Question 3 of 5

1

The three parts required in variable declaration are data type, variable name, and ______

Select one of the following:

  • ;

  • scanf()

  • <stdio.h>

  • =

Explanation

Question 4 of 5

1

A whole number data type that can hold values from ±2147483647

Select one of the following:

  • int

  • long int

  • float

  • long float

Explanation

Question 5 of 5

1

A data type with floating point values that can hold up to 15 decimals.

Select one of the following:

  • int

  • long int

  • float

  • double

Explanation