Skip to content

Undefined variable 'num3' used ( in num.c file ) #314

@Joel-V-Reji

Description

@Joel-V-Reji

#description
In num.c, the sum is calculated as sum = num1 + num3;, but the variable num3 is not defined or initialized anywhere . This will result in a compilation error and undefined behavior.

#why it this issue must be fixed

It needs to be fixed to ensure program efficiency and remove compilation errors.

#Steps to Reproduce:

-Compile num.c.
-Observe the compilation error indicating 'num3' is undeclared.
-failed code execution

#Additional info

Fixing this will allow the program to compile and function as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions