Skip to content

Commit

Permalink
Update 38.c
Browse files Browse the repository at this point in the history
  • Loading branch information
baturyilmaz authored Oct 31, 2019
1 parent bf124ed commit 94462f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leetcode/src/38.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ char * countAndSay(int n){
int k, j, count, convert = (int) result;

//Creating array with the length calculated above
char * arr = malloc(result + 4);
char * arr = malloc(convert + 4);
arr[0] = '1';
arr[1] = '\0';

Expand Down

0 comments on commit 94462f2

Please sign in to comment.