Answer E19

#include <stdio.h>

/* Puzzle E19 -- associativity of + */
int fun04()
{
  printf(" World\n");
  return 4;
}

int fun03()
{
  printf(" Goodbye ");
  return 3;
}

int fun07()
{
  printf(" Cruel ");
  return 7;
}

int main()
{
  int result;
  
  result = fun03() + fun07() + fun04() ;  /* Complete this statement */
  
  return 0;
}

In this program, nothing is done with the values assigned to result.



Back to Puzzle Home