I have trouble fprintf to output.txt file..
int number, result;
number = 291;
result = 15;
d = number ^ result; /* OR to get answer to store to output file */
fprintf((out, "%d", d));
when compilling, I get an error... msg " error fprintf: too few arguments for call" and "out: undeclared identifier" can someone tell what is wrong to the code? I wrote this code in C.