Skip to content

I have fixed the bugs!#54

Open
Keerththanan wants to merge 3 commits intofawzanm:masterfrom
Keerththanan:master
Open

I have fixed the bugs!#54
Keerththanan wants to merge 3 commits intofawzanm:masterfrom
Keerththanan:master

Conversation

@Keerththanan
Copy link

I have fixed the bugs in all given program.

  1. In the min.c program, variable MAXINT did not declared and did not initialized, For that i just removed that and assign Array's 0th element as currmin.
    And also, comparison logic was wrong. If the Array[i] less than currmin then only currmin will be updated by Array[i] value.
  2. In the corrupt.c program, integers i,j did not initialized and used. And also when we run the code, there is an additional @ sign comes in.
    Don't know why. So I just increase the char array's length by 1.
  3. In numbers.c program, Double quotations has to be used for String.
  4. In theta.c program, NULL is the keyword. We can use none of the KEY WORDS to declare variables, class name, functions etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant