// Integer
int x = 72;
// Float (Decimals)
float y = 23.14;
#include <stdio.h>
void function(){
int x = 20;//local variable
static int y = 30;//static variable
x = x + 10;
y = y + 10;
printf("
%d,%d",x,y);
}
int main() {
function();
function();
function();
return 0;
}
int playerScore = 95;
Code Example |
---|
C :: selection sort c |
C :: read file c |
C :: number pattern in c |
C :: bubble sort c |
C :: continue statement in c |
C :: how to empty array in c |
C :: variable swap in c |
C :: maximo comun divisor |
C :: terraform fargate cpu |
C :: how to merge 2 bytes into an integer |
C :: implement crc using c language |
C :: getchar c |
C :: text to hex in C |
C :: strstr |
C :: array of strings c |
C :: round c |
C :: logical operators in c |
C :: what is console in sublime text |
C :: insse suprafata arabila pe ani |
C :: arduino internal pull up resistor |
C :: what happens if i acess a freed variable in c |
C :: convert c code to assembly language |
C :: C - Type Casting |
C :: Computers round off numbers |
C :: how to input a para in c |
C :: __isoc99_sscanf |
C :: redis endpoint |
C :: get file ligne count c |
C :: write a ppm image |
C :: How to get the number of characters in a string without using strlen function |