when declare variables c code example
Example 1: declare variable in c
int i, j, k;
char c, ch;
float f, salary;
double d;
Example 2: Declaring Variables in C
int playerScore = 95;
char ch = 'a';
// some code
ch = 'l';
int i, j, k;
char c, ch;
float f, salary;
double d;
int playerScore = 95;
char ch = 'a';
// some code
ch = 'l';