prefix
Prononciation : [ˈpriːfɪks]
Mot
Contexte : « language »
(noun) a prefix is a group of letters added to the start of a word to change its meaning. For example, if you add 'un-' to the word 'happy', it becomes 'unhappy', meaning not happy.
Exemple
Adding the prefix 're-' to 'write' makes 'rewrite', which means to write again.
Exemple
The word 'paint' does not have a prefix; it stands alone with its own meaning.
Exemple
What happens when you add the prefix 'dis-' to the word 'like'?
Contexte : « computing »
(noun) in computer programming, a prefix can refer to a set of characters that appear before certain data, often to specify a particular type or command. For example, in some programming languages, a prefix might indicate a command or function to be used.
Exemple
In Python, using '0x' as a prefix indicates that a number is in hexadecimal format.
Exemple
If you use the wrong prefix in your code, it might give you an error instead of running smoothly.
Exemple
What is the purpose of using a prefix in programming?
0s0s