IHYPRESS PROGRAMMING
Tutorials and C programs with code and output for beginners
c programming
HOME | ASP | C | CSS | GNUPLOT | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
CAdvanced Programming : Storage Classes
<12.06>
//storage classes example #include <stdio.h> int formula (int a, int b) { auto int c; //same as int c; c = 4 * a + b; return (c); } int main (void) { int x; static int y; register int z = 333; //z has no address! x = formula (5, 3); printf ("%d\n", x); printf ("%d\n", y); //static variable at 0! printf ("%d\n", z); return (0); }
Hergestellt in Deutschland / Made in Germany
23 0 333
COPYRIGHT © 2015-2024 IHY PRESS Frankfurt am Main 60329 Deutschland