Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > what is the significance

Reply
Thread Tools

what is the significance

 
 
Prem Mallappa
Guest
Posts: n/a
 
      09-04-2003
what is the significance of

0;
1;
or
100;


 
Reply With Quote
 
 
 
 
Greg P.
Guest
Posts: n/a
 
      09-04-2003
"Prem Mallappa" <> wrote in message
news...
| 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?


 
Reply With Quote
 
 
 
 
Irrwahn Grausewitz
Guest
Posts: n/a
 
      09-04-2003
Prem Mallappa <> wrote in
<>:

>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
--
Sig. Sic.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
significance in using MVC architechture in Dotnet? ASP .Net 3 07-03-2006 07:02 AM
Reading RSS feed - significance of pubDate? Julian XML 0 07-29-2005 12:50 PM
What is significance of IsReusable property in IHttpHandler Interface Angrez Singh ASP .Net 1 04-25-2005 04:39 PM
Laci: Scott's favorite color is red - significance? Tiny Dancer Digital Photography 13 07-01-2004 02:30 PM
significance of this error message learningjava Java 2 12-02-2003 05:22 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57