| functions/eq-sec-degree-var3.c - Illustration af funktionsdefinition efter funktionskald. | Lektion 5 - slide 4 : 30 Program 1 |
#include <stdio.h>
#include <math.h>
int main(void) {
solveQuadraticEquation();
/* WRONG: solveQuadraticEquation not yet defined */
return 0;
}
/* Find the roots a * x*x + b * x + c = 0 */
void solveQuadraticEquation(void){
/* ... */
}