[BUG] Broken/Wrong code in C/conversions /hexadecimal_to_octal.c #171

Closed
opened 2026-01-29 15:06:50 +00:00 by claunia · 3 comments
Owner

Originally created by @sk-jiyad on GitHub (Oct 2, 2023).

Description

The code provides returns wrong value after conversion from Hexadecimal to octal.

Expected behavior

Should return the correct converted value.

Actual behavior

The code provides wrong output in conversion, and even returns negative integers after conversion.

Possible fix

No response

Steps to reproduce

Just run the code in your IDE.

Context

N/A

Additional information

Kindly assign me this issue. I am willing to help asap.

Originally created by @sk-jiyad on GitHub (Oct 2, 2023). ### Description The code provides returns wrong value after conversion from Hexadecimal to octal. ### Expected behavior Should return the correct converted value. ### Actual behavior The code provides wrong output in conversion, and even returns negative integers after conversion. ### Possible fix _No response_ ### Steps to reproduce Just run the code in your IDE. ### Context N/A ### Additional information Kindly assign me this issue. I am willing to help asap.
claunia added the bug label 2026-01-29 15:06:50 +00:00
Author
Owner

@sk-jiyad commented on GitHub (Oct 3, 2023):

@Panquesito7 Pls check this once

@sk-jiyad commented on GitHub (Oct 3, 2023): @Panquesito7 Pls check this once
Author
Owner

@sk-jiyad commented on GitHub (Oct 8, 2023):

@Panquesito7 @tjgurwara99 @alexpantyukhin Pls Check This issue

@sk-jiyad commented on GitHub (Oct 8, 2023): @Panquesito7 @tjgurwara99 @alexpantyukhin Pls Check This issue
Author
Owner

@himanchal08 commented on GitHub (Oct 10, 2023):

i would like to work on this issue it seems doable
i will try my best to implement it

@himanchal08 commented on GitHub (Oct 10, 2023): i would like to work on this issue it seems doable i will try my best to implement it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#171