Day 2 Class Notes

Day 2 


local variable global variable constant variable


{     int fun() This is always constant

{

//Block of code

} }


Data Types: 

data type Format specifier     eg

int    %d -1,0,3

float  %f  1.3464

double %lf 1.345689 

char %c a,b,c,+,-


flaot double 


1.23457578 23.179085289608


Differences

Size(digits)

Precision


Program Discussed: 

Swap 2 numbers.

Post a Comment

0 Comments