---
title: "Comment by -- on \"C program to find the GCD and LCM using pointers\" | Hashnode"
description: "lcm is wrong lcm = (num times num2) / (**gcd)"
url: "https://hashnode.com/posts/c-program-to-find-the-gcd-and-lcm-using-pointers/65e6fe954853d0af56db5484/comment/65e71994a23c71c02cb90994"
---

[Discussion](https://hashnode.com/posts/c-program-to-find-the-gcd-and-lcm-using-pointers/65e6fe954853d0af56db5484)

Comment [C program to find the GCD and LCM using pointers](https://hashnode.com/posts/c-program-to-find-the-gcd-and-lcm-using-pointers/65e6fe954853d0af56db5484)

[\--](https://hashnode.com/@myesolar)

[Mar 5, 2024](https://hashnode.com/posts/c-program-to-find-the-gcd-and-lcm-using-pointers/65e6fe954853d0af56db5484/comment/65e71994a23c71c02cb90994)

lcm is wrong lcm = (num times num2) / (\*\*gcd)
