Lies in education [was Re: The "loop and a half"]

Marko Rauhamaa marko at pacujo.net
Thu Oct 12 05:11:10 EDT 2017


Bill <BILL_NOSPAM at whoknows.net>:

> Marko Rauhamaa wrote:
>> One example is the surprising fact that string literals in C are
>> "char *" and not "const char *".
>
> If not, you couldn't pass a string literal to a function having
> prototype void f(char *s);

That *ought* to be prevented. That's the whole point.


Marko



More information about the Python-list mailing list