Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A_141121_fibonacci
//Title of this code #include <stdio.h> #define _SIZE 40 int main(void) { long fibo[_SIZE]; short i; for(fibo[0] = fibo[1] = 1 , i = 2; i < _SIZE ; i++) { fibo[i] = fibo[i - 1] + fibo[i - 2]; } for(i = 0 ; i < _SIZE ; i++) { printf("%3hd --> %15ld\n", i + 1, fibo[i]); } return 0; }
run
|
edit
|
history
|
help
0
example of scanf and basic integer manipulation
primeno
función malloc()
Null deref
sphere
program
A_141117_Primo01
B_141209_TrianguloTartalia
++i vs i++
HeapSort