freelanceprogrammers.org Forum Index » C
some questions from c,c++
Joined: 03 Jan 2005
Posts: 1
some questions from c,c++
Hi,
I am a new member to this group, I am having some doughts in c&c++,
pls clarify them.
1.) Enum tag
{
srikanth;
Praveen=2;
Sanjay;
}
what will be the value of srikanth and sanjay?
2.) Given the value of the i=5;
What will be the output of ++i+++I; and i+++i++;
Please explain it.
3.) What is the purpose of near, far and huge pointers?
4.) Write a program that compiles in c but not in c++.
5.) Difference between vector and an array.
6.) What is profiling, hashing, mutable.
7.) Difference between free and delete.
8.) Difference between const int*p & const * int p.
9.) What is a load time?
10.) Main difference between c & c++.
11.) Give any two examples of code optimization.
12.) Why preincrement is faster than post increment?
13.) How to reduce the fine size of executable?
Pls give the solutions for the above questions.
Joined: 03 Jan 2005
Posts: 10
some questions from c,c++
Do you mind doing your homework yourself
Kapil
--
PS:
1. Google: Feel free to Google before posting. http://www.google.com
2. Posting: I suggest the group members to avoid top posting, as this
pushes the original question to the bottom. While any body would prefer
to have the main question at the top, and subsequent replies added to
the bottom, so that it is easy to comprehend the flow of information.
Embeding inside a message can be better for long replies, while a top
post may be used to post a short message.
3. Do not Hijack threads. If you need to ask a fresh question, do a
little effort of moving mouse to the New or Compose button instead of
Reply. Do not start a New message or thread by hitting "Reply" in your
mail client and changing the subject. When you do this, you mess up
other participant`s ability to read mail in a threaded fashion.
4. HTML Mail: HTML is not email, and email doesn`t contain HTML, so
please turn HTML formatting OFF in your email client. Please Do not use
italics, colors, bold, fonts, pictures, sounds, or other HTML elements.
Please use only 7-bit text when sending email to the lists.
Thanks
Joined: 25 Jul 2003
Posts: 48
some questions from c,c++
Reply embedded...
> -----Original Message-----
> From: tvptsp [mailto:no_reply@yahoogroups.com]
> Sent: Monday, January 03, 2005 12:33 AM
> To: Programmers-Town@yahoogroups.com
> Subject: (PT) some questions from c,c++
>
>
> Hi,
> I am a new member to this group, I am having some doughts in c&c++,
> pls clarify them.
You have doubts or you simply too lazy to do your homework?
If you really have doubts, tell use what you think so that we can comments
and/or clarify them.
[list of questions snipped]
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







