Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: C language tutorial( basic ) note ( chapter 1) Variables, Data Types + Input/Output
Description: C language tutorial( basic ) note ( chapter 1) Variables, Data Types + Input/Output

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


Variables
Variable is the name of a memory
location which stores some data
...
Variables are case sensitive
b
...
no comma/blank space
d
...
0, 2
...
14, -24

Character
Constants
'a', 'b', 'A',
'#', '&'

Keywords
Reserved words that have special
meaning to the compiler
32 Keywords in C

Keywords
auto

double

int

struct

break

else

long

switch

case

enum

register

typedef

char

extern

return

union

continue

for

signed

void

do

if

static

while

default

goto

sizeof

volatile

const

float

short

unsigned

Program Structure
#include ...
integers

printf(" age is %d ", age);

2
...
characters

printf(" star looks like this %c ", star);

Input
scanf(" %d ", &age);

Compilation
A computer program that translates C code
into machine code

Hello
...
exe (windows)
a
Title: C language tutorial( basic ) note ( chapter 1) Variables, Data Types + Input/Output
Description: C language tutorial( basic ) note ( chapter 1) Variables, Data Types + Input/Output