Puzzle E13

Poor Spacing

The compiler ignores spaces between the parts of an expression. What is displayed by this program:

#include <stdio.h>

/* Puzzle E13 -- doubly sneaky intermediate */
int main()
{
  int a = 7;
  int d = 3;
  
  printf("Expression evaluates to: %f\n", 7 / 3+1.0 );   
  return 0;
}


Previous Page        Answer         Next Page         Home