xcode - Expression result unused objective-c -
i nooby gets. can please tell me how fix this?
#include <stdio.h> int main(int argc, const char * argv[]) { int sum; sum = 50 + 25; "the sum of 50 , 25 %i", sum ; return 0; }
change line:
"the sum of 50 , 25 %i", sum ;
to:
printf( "the sum of 50 , 25 %i", sum );
the line in quotes syntax error happens getting compiler (which apparently throwing warning instead).
Comments
Post a Comment