C Symbols Flashcards

1
Q

C Trigraph sequence: ??>

A

Converts to }

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

C Trigraph sequence: ??-

A

Converts to ~

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

C Trigraph sequence: ??(

A

Converts to [

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

C Trigraph sequence: ??’

A

Converts to ^

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

C Trigraph sequence: ??)

A

Converts to ]

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

C Trigraph sequence: ??

A

Converts to {

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

C Trigraph sequence: ??!

A

Converts to |

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

C Trigraph sequence: ??=

A

Converts to #

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

C Trigraph sequence:&raquo_space;/

A

Converts to \

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

C What is a trigraph sequence

A

A three character sequence that is used for representing some symbols

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

C Conversion specifier: %o

A

Displays an Integer value in octal notation without the leading 0

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

C Conversion specifier: %#o

A

Displays an Integer value in octal notation with the leading o

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

C Conversion specifier: %x

A

Displays a value in hexadecimal notation without the leading 0x

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

C Conversion specifier: %#x

A

Displays a value in hexadecimal notation with the leading 0x

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

C Conversion specifier: %s

A

Displays a string

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

C Conversion specifier: %p

A

Displays the address of which the pointer refers to in hexadecimal format

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

C Conversion specifier: %zd

A

Displays a size_t value

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

What can C format strings contain

A

Ordinary characters, conversion specifiers, escape sequences

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

C Conversion specifier: %e

A

Displays a floating-point value in exponential format

20
Q

What does the character that follows the % in a C conversion specifier do

A

Specifies how the value is to be converted

21
Q

C Conversion specifier: %hd

A

Displays an integer value of the short data type

22
Q

C Conversion specifier: %d

A

Displays an integer value of the int data type

23
Q

C Conversion specifier: %g

A

Displays a floating-point value in either exponential format or fixed-decimal format

24
Q

C Conversion specifier: %f

A

Displays a floating-point value in in fixed-decimal format

25
Q

C Conversion specifier: %c

A

Displays the character code of a value

26
Q

C Conversion specifier: %ld

A

Displays an Integer value in of the long data type

27
Q

What is a C conversion specifier

A

Sequences of characters that tell the program how to display data during printing

28
Q

What do C conversion specifiers begin with

A

%

29
Q

C Conversion specifier: %.xf

A

Displays a floating-point number with a specified number of digits precision by typing the decimal point and a number after the %

30
Q

C Conversion specifier: %s

A

Displays a string

31
Q

C Conversion specifier: %Lf

A

Displays a double precision floating-point number

32
Q

C Conversion specifier: %lu

A

Displays an integer value of the unsigned long data type

33
Q

C Conversion specifier: %u

A

Displays an integer value of the unsigned int data type

34
Q

C Conversion specifier: %hu

A

Displays an integer value of the unsigned short data type

35
Q

What does the C minimum field width do

A

Specifies the minimum number of characters to print

36
Q

C Escape sequence: \

A

Backslash

37
Q

C Escape sequence: \?

A

Question mark

38
Q

C Escape sequence: \n

A

Newline

39
Q

C Escape sequence: \a

A

Alert (bell)

40
Q

What are C escape sequences used for

A

To print non-printable or hard to print characters to the screen

41
Q

C Escape sequence: \r

A

Carriage return

42
Q

C Escape sequence: \f

A

Form feed

43
Q

C Escape sequence: '

A

Single quote

44
Q

What is a C escape sequence

A

A sequence of characters that are used to format output

45
Q

C Escape sequence: \”

A

Double quote

46
Q

C Escape sequence: \t

A

Horizontal tab

47
Q

C Escape sequence: \b

A

Backspace