Assign function return value to a variable
#include <stdio.h> int f(void); int main(void) { double answer; answer = f(); printf("%f", answer); return 0; } int f(void) { return 100; }