Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #10885

Casting volatile and const variables

From Ravi <nospam@null.invalid>
Newsgroups comp.lang.c
Subject Casting volatile and const variables
Date 2011-09-24 20:50 +0000
Organization Aioe.org NNTP Server
Message-ID <j5lfqm$qap$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Hello friends~

I read on the internet,
that const and volatile
variable should not be
type casted. Can you
please tell me why
shouldn't we type cast
const and volatile
variables?

Regards

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Casting volatile and const variables Ravi <nospam@null.invalid> - 2011-09-24 20:50 +0000
  Re: Casting volatile and const variables Richard Damon <news.x.richarddamon@xoxy.net> - 2011-09-24 17:19 -0400
    Re: Casting volatile and const variables Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-09-24 22:39 +0100
      Re: Casting volatile and const variables Uno <merrilljensen@q.com> - 2011-09-24 21:41 -0700

csiph-web