Flexible/hard code

can someone please give me an example of hard code as opposed to flexible? I understand that with hardcode the coding is unchangeable whereas flexible it is changeable but what does that really mean?

Thanks!