Skip to content

C Reference: all words

73 words in 14 lists. Listen, read the examples, then train a list.

Train all words

1

13 words Train this list PDF
  1. header /ˈhedə/ A file containing declarations, macros or other definitions included by a C source file, commonly through #include. stdio.h is a header file.
  2. function /ˈfʌŋkʃn/ A named block of C code called with arguments and a declared return type, possibly void. A function returns a value.
  3. integer /ˈɪntɪdʒə/ A whole number that may be positive, negative or zero. An integer is a whole number, which can be positive, negative or zero.
  4. floating-point /ˈfləʊtɪŋ pɔɪnt/ A number representation using a significand and exponent, with limited precision and range rather than exact representation of every real number. 2.75 is a floating-point number.
  5. format specifier /ˈfɔːmæt ˈspesɪfaɪə/ A notation in a format string specifying how an argument is represented or read; input and output functions can require different argument types. %d is a format specifier for an integer.
  6. remainder /rɪˈmeɪndə/ The amount left after division into equal whole groups, or the residual expression after algebraic division. 14 divided by 5 leaves a remainder of 4.
  7. comment /ˈkɒment/ Explanatory text in source code or markup that does not execute as a program instruction. A comment starts with # and the computer ignores it.
  8. indentation /ˌɪndenˈteɪʃn/ Space placed at the start of a line to show structure, including code blocks in languages that use it syntactically. Python uses indentation, spaces at the start of a line, to show which lines belong together.
  9. parameter /pəˈræmɪtə/ A named input in a function definition that receives an argument when the function is called. In int square(int n), n is a parameter: the function receives a value through it.
  10. return value /rɪˈtɜːn ˈvæljuː/ The value supplied back to a caller when a function finishes; it is distinct from printed output. square(4) gives a return value of 16, which the caller can store or print.
  11. prototype /ˈprəʊtəʊtaɪp/ A declaration of a function's name, return type and parameter types before its full definition, commonly used in C. A prototype such as int square(int n); tells the compiler a function's name and types before its body.
  12. cast /kæst/ (double) total / count uses a cast to turn total into a double, so the division keeps its decimals.
  13. field width /fiːld wɪtθ/ In %5d, the field width is 5, so the number fills at least five characters.

2

4 words Train this list PDF
  1. condition /kənˈdɪʃn/ An expression used for control flow; zero is false and nonzero is true in these C examples. The condition x > 10 decides whether the if block runs.
  2. boolean /ˈbuːlɪən/ A logical value that is either true or false. A boolean is true or false.
  3. jump out /dʒʌmp aʊt/ Leave the innermost enclosing loop or switch with break, then continue after that construct. break makes the program jump out of the loop.
  4. fall through /fɔːl θruː/ Without break, a case will fall through and run the next case's code as well.

3

4 words Train this list PDF
  1. loop /luːp/ A structure that repeats a sequence of instructions. The loop runs ten times.
  2. increment /ˈɪŋkrɪmənt/ Increase a value, commonly by one, as with the C ++ operator. i++ will increment i by one.
  3. accumulator /əˈkjuːmjʊleɪtə/ A variable that keeps a running result while a loop processes values. The answer to the sum goes into the accumulator.
  4. nested /ˈnestɪd/ Contained within another structure of the same or a related kind, such as a loop inside a loop. A loop inside a loop is a nested loop.

4

3 words Train this list PDF
  1. scope /skəʊp/ The region of a program in which a particular name or binding can be accessed. The scope of a variable is where it can be used.
  2. local /ˈləʊkl/ For a C name here, declared within a function or block and accessible according to that scope's rules. A local variable exists only inside its function.
  3. argument /ˈɑːɡjuːmənt/ Values or references supplied to a function or procedure when it is called. In square(7), the value 7 is the argument passed to the function.

5

7 words Train this list PDF
  1. array /əˈreɪ/ An indexed collection of elements arranged in one or more dimensions. An array stores many values under one name.
  2. index /ˈɪndeks/ A position marker or lookup structure used to locate data within a collection or database. Use index 3 to read the third item in the array.
  3. element /ˈelɪmənt/ One item stored at an indexed position in an array. Each element of the array holds one value.
  4. traverse /trəˈvɜːs/ To visit the elements of a data structure systematically. Traverse the list to print every item.
  5. row /rəʊ/ A horizontal sequence of entries in a table or array, or a single record in a database table. Each row of the table is one student.
  6. column /ˈkɒlʌm/ A vertical arrangement of entries, or a named field in a database table. Each column of the table is one subject.
  7. linear search /ˈlɪnɪə sɜːtʃ/ Checking items in sequence until the required item is found or the list ends. A linear search checks the items one by one, from the first to the last.

6

4 words Train this list PDF
  1. pointer /ˈpɔɪntə/ A value that identifies a memory location or refers to another stored object. The pointer shows where the next item is.
  2. address /əˈdres/ An identifier specifying a location in memory or on a network. &x gives the address of x in memory.
  3. dereference /ˌdiːˈrefrəns/ To access the value stored at the memory address held by a pointer. Dereference the pointer to get the value it points to.
  4. pointer arithmetic /ˈpɔɪntə əˈrɪθmətɪk/ Adding or subtracting an element offset from a pointer, subject to C's array-bound rules; steps are scaled to the pointed-to type. With pointer arithmetic, p + 1 points to the next item.

7

3 words Train this list PDF
  1. string /strɪŋ/ A sequence of characters treated as a single data value. Hello is a string.
  2. null terminator /nʌl ˈtɜːmɪneɪtə/ The zero-valued character '\0' marking the end of a C string; it is not the printed digit '0'. The null terminator \0 marks the end of a C string.
  3. character /ˈkærɪktə/ A text unit such as a letter, digit, punctuation mark or other symbol. A is a single character.

8

3 words Train this list PDF
  1. struct /strʌkt/ A C type grouping named data members into one composite object. A struct groups a name and an age together.
  2. member /ˈmembə/ A named component of a structured type or object, such as a field within a C struct. age is a member of the struct.
  3. pass by value /pæs baɪ ˈvæljuː/ C uses pass by value: the function gets a copy, so changing it does not change the caller's variable.

9

4 words Train this list PDF
  1. allocate /ˈæləkeɪt/ Reserve storage for a program to use, checking whether the request succeeds before accessing it. malloc() will allocate memory.
  2. heap /hiːp/ In this memory model, the storage area used for dynamic allocation, whose objects can outlive a function call until released. malloc() takes memory from the heap.
  3. memory leak /ˈmeməri liːk/ Allocated memory that is no longer needed but has not been released, especially when no usable reference to it remains. Forgetting free() causes a memory leak.
  4. capacity /kəˈpæsɪti/ The array's capacity is 8, so a ninth item needs a realloc first.

10

6 words Train this list PDF
  1. linked list /lɪŋkt lɪst/ A chain of nodes. In a linked list, each item points to the next one.
  2. node /nəʊd/ An individual unit or point in a network, graph, tree or linked data structure. Each node holds a value and a pointer.
  3. stack /stæk/ A last-in, first-out data structure in which items are added and removed at the same end. The last item put on the stack is the first one taken off.
  4. LIFO /ˈlaɪfəʊ/ An ordering rule in which the most recently added item is removed first. A stack is LIFO: last in, first out.
  5. queue /kjuː/ A data structure in which items are normally removed in the order they were added. A queue is first in, first out.
  6. FIFO /ˈfaɪfəʊ/ An ordering rule in which the earliest added item is removed first. A queue is FIFO: first in, first out.

11

8 words Train this list PDF
  1. binary search /ˈbaɪnəri sɜːtʃ/ A search of ordered data that repeatedly compares with the middle item and discards half of the remaining search range. Binary search halves the list each time.
  2. sorted /ˈsɔːtɪd/ Arranged according to a specified ordering, such as increasing numerical value. Binary search only works on a sorted list.
  3. bubble sort /ˈbʌbl sɔːt/ A sorting algorithm that repeatedly compares adjacent items and swaps those in the wrong order until the sequence is ordered. Bubble sort swaps two items next to each other if they are in the wrong order.
  4. swap /swɒp/ Exchange the values held in two positions, preserving both original values. Bubble sort will swap two items that are in the wrong order.
  5. recursion /rɪˈkɜːʃn/ Solving a task through further calls to the same function, with a stopping case for terminating inputs. Recursion means a function calls itself.
  6. base case /beɪs keɪs/ A case that can be solved directly and stops further recursive calls. The base case stops the recursion.
  7. insertion sort /ɪnˈsɜːʃn sɔːt/ A sorting method that inserts each new item into its correct position in the already sorted part of a list. Insertion sort takes each item in turn and moves it left into its place among the sorted items.
  8. call stack /kɔːl stæk/ A stack that records active function calls and their return information. Each function call adds a frame to the call stack, and the frame is removed when the function returns.

12

3 words Train this list PDF
  1. file pointer /faɪl ˈpɔɪntə/ A C FILE * referring to a stream's control information, not simply a pointer to all the file's contents. fopen() returns a file pointer.
  2. mode /məʊd/ A setting that determines how a file is opened or used, such as reading, writing or appending. The mode "r" opens a file for reading, and "w" for writing.
  3. return code /rɪˈtɜːn kəʊd/ A value returned to report the outcome of an operation, such as success or a specified error. A return code of 0 means success.

13

7 words Train this list PDF
  1. bit /bɪt/ A binary digit, taking the value zero or one. A bit is a single 0 or 1.
  2. binary /ˈbaɪnəri/ A number system using base two, with the digits zero and one. In binary, the number 5 is written 101.
  3. bitwise /ˈbɪtwaɪz/ Operating on the individual bits of a value rather than treating it only as a whole number or Boolean truth value. & is a bitwise AND.
  4. compression /kəmˈpreʃn/ Representing data using fewer bits where possible, using an encoding such as run-length encoding. Compression makes the file smaller.
  5. run /rʌn/ In run-length encoding, a consecutive sequence of repeated occurrences of the same value. In AAAABB, AAAA is a run of four A's.
  6. lossless /ˈlɒsləs/ Describing compression from which the original data can be recovered exactly. Lossless compression keeps every bit of the original file.
  7. hexadecimal /ˌheksəˈdesɪml/ A base-sixteen number system using digits zero to nine and letters A to F. In hexadecimal, the number 255 is written FF.

14

4 words Train this list PDF
  1. preprocessor /prɪˈprəʊsesə/ The C translation stage that handles directives such as #include and #define before compilation proper. The preprocessor handles #include before compiling.
  2. macro /ˈmækrəʊ/ A preprocessor name replaced according to its definition, potentially with parameters; it is not an ordinary typed C variable. #define PI 3.14 creates a macro.
  3. constant /ˈkɒnstənt/ A named or literal value that does not change during the relevant part of a program. A constant such as Pi never changes.
  4. enumeration /ɪˌnjuːməˈreɪʃn/ A C enum type naming integer constants; values start at zero by default unless explicitly assigned. An enumeration lists named choices, such as RED, GREEN and BLUE.

Log in or create account

IGCSE, A-Level & AP