Review(2): My C FAQ Page

  • Thread starter Vijay Kumar R Zanvar
  • Start date
V

Vijay Kumar R Zanvar

Greetings,

The last time I put these pages for reviewing, I did
not have clc in my mind. However, this time I was
conscious about clc while answering any of questions that
I came across, and also that one day, I should be approaching
for reviews. So, here I again put these pages forward to
be cricized!

PS: [1] With due respect to Tristan Miller, I could not
change the name, "FAQ", to some other descriptive
name. These pages are often consulted in my local
loop, and my intentions here are to minimize the
misleading informations.

[2] Questions 1 to 42 were reviewed previously.
Questions 44, 48, 50, 51, 54 and 69 are from clc.

Regards,
 
M

Martin Dickopp

Vijay Kumar R Zanvar said:
Greetings,

The last time I put these pages for reviewing, I did
not have clc in my mind. However, this time I was
conscious about clc while answering any of questions that
I came across, and also that one day, I should be approaching
for reviews. So, here I again put these pages forward to
be cricized!

PS: [1] With due respect to Tristan Miller, I could not
change the name, "FAQ", to some other descriptive
name. These pages are often consulted in my local
loop, and my intentions here are to minimize the
misleading informations.

[2] Questions 1 to 42 were reviewed previously.
Questions 44, 48, 50, 51, 54 and 69 are from clc.

Meta-comment: It would have been better to put the URL into the body of
the message instead of the signature. Some people configure their
newsreaders to strip signatures, and these people will wonder what page
you are talking about.

Q.58: For an `unsigned char', there is no difference between "value" and
"representation". However, you might want to clarify that if the
type of `c' is changed to, let's say, `unsigned int', the program
accesses the value, not the representation.

I would also prefer
unsigned char c = 0xd1;
char bits [sizeof c * CHAR_BIT + 1] = "";
And why do you multiply the array size with the size of `c', but
not `i' and `times'?

Martin
 

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,139
Messages
2,570,805
Members
47,356
Latest member
Tommyhotly

Latest Threads

Top