C Symbols Flashcards

(47 cards)

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
C Conversion specifier: %c
Displays the character code of a value
26
C Conversion specifier: %ld
Displays an Integer value in of the long data type
27
What is a C conversion specifier
Sequences of characters that tell the program how to display data during printing
28
What do C conversion specifiers begin with
%
29
C Conversion specifier: %.xf
Displays a floating-point number with a specified number of digits precision by typing the decimal point and a number after the %
30
C Conversion specifier: %s
Displays a string
31
C Conversion specifier: %Lf
Displays a double precision floating-point number
32
C Conversion specifier: %lu
Displays an integer value of the unsigned long data type
33
C Conversion specifier: %u
Displays an integer value of the unsigned int data type
34
C Conversion specifier: %hu
Displays an integer value of the unsigned short data type
35
What does the C minimum field width do
Specifies the minimum number of characters to print
36
C Escape sequence: \\
Backslash
37
C Escape sequence: \?
Question mark
38
C Escape sequence: \n
Newline
39
C Escape sequence: \a
Alert (bell)
40
What are C escape sequences used for
To print non-printable or hard to print characters to the screen
41
C Escape sequence: \r
Carriage return
42
C Escape sequence: \f
Form feed
43
C Escape sequence: \'
Single quote
44
What is a C escape sequence
A sequence of characters that are used to format output
45
C Escape sequence: \”
Double quote
46
C Escape sequence: \t
Horizontal tab
47
C Escape sequence: \b
Backspace