• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/8

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

8 Cards in this Set

  • Front
  • Back

main()

Most important part of a C program


Determines the beginning of the program's execution


Always followed by braces {...}



functions




Distinguished from a command by the () that follow the function name.

For example




main ()


printf()


strlen()

Terminal




Alias

Short cut


ie/


alias test="echo 'test'" will return the word test


alias the new word or symbol="the things you want it to do or say"

mk dir Make a new directory


ls List


mv Move


cp Copy



Commands

Have 3 elements


1. the command itself which calls a specific tool


2. an option which modifies the command's output


3. an argument which calls the resource on which the command will operate

esc + y = list of commands, press space bar for more

tba

Arrays
int arr[10]
Here int is the data type, arr is the name of the array, and 10 is the size of the array.  It means that the array can only contain 10 elements of int type.

Arrays


int arr[10]


Here int is the data type, arr is the name of the array, and 10 is the size of the array. It means that the array can only contain 10 elements of int type.



Arrays are a list of variables of the same data type.




Two dimensional arrays are declared like this:


int a[3][4]

Initializing an array

Can be done at compile time or at runtime.