Comment on Write a program that makes 2 + 2 = 5parentComments−gizmo68612yIs the trick here the "-trigraphs" flag, or the fact that you are showing us test.c but compiling test2.c? Both approaches seem like they should work.−cdcarter12yIt's the trigraph ??/ which translates to a \.−gizmo68612yThe trigraph appears in the file "test.c". If you look at the compilation command, you will see that that is not the file that is actually compiled.−cbsmith12yIf you compile "test.c" you will see that that isn't relevant issue.
Comments
Is the trick here the "-trigraphs" flag, or the fact that you are showing us test.c but compiling test2.c? Both approaches seem like they should work.
It's the trigraph ??/ which translates to a \.
The trigraph appears in the file "test.c". If you look at the compilation command, you will see that that is not the file that is actually compiled.
If you compile "test.c" you will see that that isn't relevant issue.