Skip to content

Conversation

@gbrunofranco
Copy link
Contributor

No description provided.

@christianbender
Copy link
Collaborator

@gbrunofranco Resolve your merge conflicts

Copy link
Collaborator

@christianbender christianbender left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Work! I have some requests

for (int i = 0; i < size; ++i)
printf("%d ", numbers[i]);
printf("\n");
return 0;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use free for dealloctaing the space pointer numbers

}
}
}
int main()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a newline between the begin of the main-function and the code line above.

for (int i = 0; i < size; ++i)
scanf("%d", &numbers[i]);
printf("Initial array: ");
for (int i = 0; i < size; ++i)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write a function for printing the array. And call this function

@danghai danghai force-pushed the master branch 4 times, most recently from 82c28a3 to b2154ae Compare August 8, 2019 00:22
@gbrunofranco gbrunofranco deleted the comb_sort branch August 8, 2019 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants