On your "scanf" section. All the FAQs and advice in this newsgroup
specifically state to avoid the function. So, why do you put
it into your test?
If "Kishor" actually knew C, 'scanf' would be a great thing to put
on a "test" or "FAQ" page. 'scanf' *can* be used safely, believe it
or not; sometimes it's even the most effective way to get things done.
Why else would it still be around?

But it takes a bit of skill
to write 'scanf' code that always works properly.
That skill would be a great thing to test! You know, with questions
like
Write a program that parses a text file in format X and outputs
the values it finds in fields Y and Z.
for some values of X,Y,Z. Unfortunately, "Kishor" has filled his/her
page with garbage like
What does this program do?
scanf("Hello\'u my friends,%d%g%h%i%j@87kdf", &p);
that doesn't show any understanding of the language, the concepts,
or the proper discipline required to write really good code. And
that's just bad.
[I wouldn't be too "afraid, very afraid," about the guestbook
entries. Looks like personal friends of "Kishor," presumably also
in whatever beginning C course he/she is.]
-Arthur