lesson 3-5 Flashcards

1
Q

They are arithmetic types and are further classified into: (a) integer types and (b) floating-point types

A

Basic Types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

They are again arithmetic types and they are used to define variables that can only assign certain discrete integer values throughout the program

A

Enumerated types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The type specifier void indicates that no value is available.

A

The type void

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

They include (a) Pointer types, (b) Array types, (c) Structure types, (d) Union types, and (e) Function types

A

Derived types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The expressions ______ yields the storage size of the object or type in bytes.

A

sizeof

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

it defines macros that allow you to use these values and other details about the binary representation of real numbers in your programs.

A

float.h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

There are various functions in C which do not return any value or you can say they return void.

A

Function returns as void

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

There are various functions in C which do not accept any parameter

A

Function arguments as void

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A pointer of type void * represents the address of an object, but not its type

A

Pointers to void

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

it is nothing but a name given to a storage area that our programs can manipulate.

A

variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

it can be composed of letters, digits, and the underscore character

A

name of a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

BASIC VARIABLE TYPES

Typically a single octet (one byte). This is an integer type

A

char

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

BASIC VARIABLE TYPES

The most natural size of integer for the machine.

A

int

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

BASIC VARIABLE TYPES

A single-precision floating point value

A

float

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

BASIC VARIABLE TYPES

A double-precision floating point value.

A

double

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

BASIC VARIABLE TYPES

Represents the absence of type

A

void

17
Q

this definition tells the compiler where and how much storage to create for the variable

A

variable definition

18
Q

it provides assurance to the compiler that there exists a variable with the given type and name so that the compiler can proceed for further compilation

A

Variable declarations

19
Q

Expressions that refer to a memory location are called “lvalue“ expressions

A

L-value

20
Q

The term rvalue refers to a data value that is stored at some address in memory.

A

R-value

21
Q

this function is a fundamental tool for outputting formatted text to the standard output stream.

A

printf

22
Q

it reads formatted input from standard input stream

A

scanf

23
Q

Some common format specifiers include:

A

•%d for integers
•%f for floating-point numbers
•%c for characters
•%s for strings