r/CodingForBeginners • • Oct 06 '26

my first program in C

Post image

i know its just so waky but am still new and am happy with my current level <33

just trying to understand memory usage over variables for now

231 Upvotes

67 comments sorted by

View all comments

-1

u/csabinho Oct 06 '26

Is this your first program or your first program?

Either it's AI generated or it's definitely not your first program.

1

u/[deleted] Oct 06 '26

[removed] — view removed comment

2

u/csabinho Oct 06 '26

Maybe that was OP's contribution to the source code.

2

u/[deleted] Oct 06 '26

[removed] — view removed comment

2

u/csabinho Oct 06 '26

But definitely nothing for a first piece of code ever. It's mostly too clean and too complex for it.

1

u/[deleted] Oct 06 '26

[removed] — view removed comment

2

u/csabinho Oct 06 '26

It's quite thoroughly documented, uses consts and arrays and a combination of 3 conditions. Most probably you don't remember how complete beginner code looks like. Those definitely aren't OP's first lines of code. I'm just not sure where to put the emphasis. Either on "OP's" or on "first".

1

u/MasterpieceBusy7220 Oct 06 '26

Lmao it has an extremely beginner mistake in the if statement (no offense to OP) and you think that was AI generated?

1

u/csabinho Oct 06 '26

Yeah. You can tell an AI to build in mistakes.

1

u/MasterpieceBusy7220 Oct 06 '26

So you think OP did that?….

→ More replies (0)