Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v8dfo9$1k7cg$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v8dfo9$1k7cg$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thiago Adams <thiago.adams@gmail.com>
Newsgroups: comp.lang.c
Subject: What is your opinion about unsigned int u = -2 ?
Date: Wed, 31 Jul 2024 10:55:21 -0300
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <v8dfo9$1k7cg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 Jul 2024 15:55:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="14953992ca6455100bc2e4271ddc59bc";
	logging-data="1711504"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/wMZC0VIjsAOXaEw2+RQLm1zXuxIkpIJ0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:bpW04YTpQgLBafD0u69Mq7E64rg=
Content-Language: en-US

What is your opinion about this:

unsigned int u1 = -1;

Generally -1 is used to get the maximum value.
Is this guaranteed to work?

How about this one?

unsigned int u2 = -2;
Does it makes sense? Maybe a warning here?