c - Why there is an error? -
I have written the following code block, I get an error all the time in the function find_brackets and calculation. Can anyone explain to me how to fix it and two functions will work together
#include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; #include & lt; String.h & gt; Finding zero_backets (four characters [], int lane); Zero count (four letter 1); Int main (zero) {int len; Four straw [99]; Four str [99]; // (4/2) printf ("Enter a Math Exercise: \ n"); Gets (STR); Lane = Stellen (str); Find_brackets (STR); Count (str1); } Zero find_brackets (str [], lane) {char str1 [len]; Int i, j; (I = 0; i aPos; -i, ++ K) {str2 [K] = str [ii]; }} Rev = strrev (str2); Printf ("% s \ n", rev); {Strp [i + 1]! = '+') {Str3 [j ++] = for strp (i = 0; i Thanks for helping me
function declaration Zero find_brackets (char str [], int len); and the caller is main find_brackets (str); which is wrong. Where is 2 ARG. In addition, the differnce in the function of calculation () and how it is implemented, maintain a match in formal arguments, after which Kelly passed the actual arguments .
Comments
Post a Comment