Study your flashcards anywhere!

Download the official Cram app for free >

  • 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

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/7

Click to flip

7 Cards in this Set

  • Front
  • Back
What are variables?
named locations in the computer's memory where one value at a time is stored
What are 4 ways to input variables into a program?
intial value declared, assigned through an statement, read as an input (ex. keyboard), passed to parameter in a function
What is the assignment statement?
variable=expression; /*assigns a value to a variable*/
What are integers data type in C prgrams?
data type used to store numbers ranging from -32767 to 32767......e x. int total = 4;
What are real numbers data type in C programs?
data type used to store with integral and fractional part..... ex. double guess = 5.2
What are characters data type in C programs?
data type used to store individual characters.... ex char greeting = 'hello';
How should character data types be enclosed?
with single quotes....'hello'