Skip to content

Commit

Permalink
Added comment to zad2.c
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelkubek authored Nov 9, 2023
1 parent c9b0f5d commit 7f026d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cw5/zad2/zad2.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ int blisko_zera(int v[], int n){

int main()
{
//main from zad_ms.c
int n;
if(!scanf("%d", &n)) printf("wrong input");
int *t = (int *)malloc((size_t)n * sizeof(int));
Expand All @@ -34,4 +35,4 @@ int main()
printf("%d\n", nearestAbsZero);

free(t);
}
}

0 comments on commit 7f026d7

Please sign in to comment.