what is the significance

G

Greg P.

| what is the significance of
|
| 0;
| 1;
| or
| 100;

Depending on its context, nothing.

When used as binary expressions like:

unsigned int number= 100;

then it is apparent that the value 100 be stored in number.

When used as:

100;

There is no meaning, but it is accepted. Some programmers get their jollies
off by writing obfuscated code to reduce navigation and readability to
prevent others from fixing their broken code. If you see any code examples
where empty expressions like above are left in the code, either the program
is unfinished or the programmer is a jackass...in any case don't bother with
it and look elsewhere.

Are you aka Pruthvi (the other person that posted a question similar to
this)?

Can you post some links to where you are seeing this?
 
I

Irrwahn Grausewitz

what is the significance of

0;
1;
or
100;
This is the third time this question is posted here today.
This is the second time *you* post this question here, with
a slightly different subject, within in two minutes.

Kind advice:
1. comp.lang.c is *not* a chatroom. If your question is on-
topic, it will most certainly be answered within a couple of
hours - no need to repeat it.

2. Why didn't you read at least the two most recent threads in
this newsgroup before posting? What would you think of someone
who keeps throwing one and the same question at you, though it
has already been answered six hours before?

And, please, read the c.l.c-faq before posting here; I'm almost
sure your question is answered there, and it includes a lot of
useful information beyond this. It is posted to c.l.c regularly
and is accessible on www here:

URL: http://www.eskimo.com/~scs/C-faq/top.html

Regards

Irrwahn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,078
Messages
2,570,572
Members
47,204
Latest member
MalorieSte

Latest Threads

Top