Mega Code Archive

 
Categories / C / Data Type
 

Using a variable

/* Using a variable  */ #include <stdio.h> void main() {   int s;              /* Declare a variable called s */   s = 10000;            /* A simple arithmetic assignment statement */   printf("s is %d.", s); }