By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,581 Members | 1,990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,581 IT Pros & Developers. It's quick & easy.

interview question & answer required

P: n/a
hello 2 all,
where can i get interview question on C & C++.

plz give me links it will be so helpful.
bye
Nov 13 '05 #1
Share this Question
Share on Google+
26 Replies


P: n/a
In article <73**************************@posting.google.com >, ROSY wrote:
hello 2 all,
where can i get interview question on C & C++.

plz give me links it will be so helpful.
bye


I think the FAQ for alt.comp.lang.learn.c-c++ might be good for you:

http://www.snurse-l.org/acllc-c++/faq.html

--
Andreas Kähäri
Nov 13 '05 #2

P: n/a
In article <73**************************@posting.google.com >,
de**************@rediffmail.com (ROSY) wrote:
hello 2 all,
where can i get interview question on C & C++.


Some that are always good:

"I show you this ten line C function. What does it do? "

"I show you this ten line C function. What does it do? What do you think
was it supposed to do, and why doesn't it do what it is supposed to do?
How do you change it so that it will do what it was supposed to do?"

"I have this little problem that could be solved with a 10 line C
program. Could you write this 10 line C program for me?"

Of course, these are just there to get you to the proper interview.
Nov 13 '05 #3

P: n/a
Christian Bau <ch***********@cbau.freeserve.co.uk> scribbled the following:
In article <73**************************@posting.google.com >,
de**************@rediffmail.com (ROSY) wrote:
hello 2 all,
where can i get interview question on C & C++.
Some that are always good: "I show you this ten line C function. What does it do? " "I show you this ten line C function. What does it do? What do you think
was it supposed to do, and why doesn't it do what it is supposed to do?
How do you change it so that it will do what it was supposed to do?" "I have this little problem that could be solved with a 10 line C
program. Could you write this 10 line C program for me?" Of course, these are just there to get you to the proper interview.


"I have this ten line C function written by an ex-employee. What the
heck was he smoking?"

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"To know me IS to love me."
- JIPsoft
Nov 13 '05 #4

P: n/a
On Wed, 17 Sep 2003 09:08:52 +0000, Joona I Palaste wrote:
"I have this ten line C function written by an ex-employee. What the
heck was he smoking?"


"I have this 3 line C function written by an ex-employee, none of my other
employess could do it in less than 100 lines. What the heck was he
smoking, and where can I get some."

--
NPV
"Linux is to Lego as Windows is to Fisher Price." - Doctor J Frink

Nov 13 '05 #5

P: n/a
ROSY wrote:
hello 2 all,
where can i get interview question on C & C++.


From the other questions you asked, you will not be ready for an interview
for, say 3-4 years, or perhaps never. For damn sure, you're not close to
being employable as a programmer now.
--
Martin Ambuhl

Nov 13 '05 #6

P: n/a
Martin Ambuhl <ma*****@earthlink.net> scribbled the following:
ROSY wrote:
hello 2 all,
where can i get interview question on C & C++.
From the other questions you asked, you will not be ready for an interview
for, say 3-4 years, or perhaps never. For damn sure, you're not close to
being employable as a programmer now.


Back in 1999-2000, all you had to know was a "Hello world" program to
get you a trainee job as programmer in at least one company. But those
days are now gone...

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"No, Maggie, not Aztec, Olmec! Ol-mec!"
- Lisa Simpson
Nov 13 '05 #7

P: n/a

Joona I Palaste <pa*****@cc.helsinki.fi> wrote in message
news:bk**********@oravannahka.helsinki.fi...
"I have this ten line C function written by an ex-employee. What the
heck was he smoking?"


C-weed.

-Mike

Nov 13 '05 #8

P: n/a
In article <bk**********@oravannahka.helsinki.fi>,
Joona I Palaste <pa*****@cc.helsinki.fi> wrote:
"I have this ten line C function written by an ex-employee. What the
heck was he smoking?"


Written on the whiteboard in my former sort-of-a-cubicle (from before I
went back to school for 4 months and got a different sort-of-a-cubicle
when I came back), there's still a quote I made while I was handing off
some of the code I had written to one of the co-op students:

"They won't need to ask what I was smoking. The comments will tell them."

(This was about some moderately hairy but well-documented code that used a
not-widely-known feature to let an "object" (in the OO-programming sense)
change its type without invalidating pointers to it.)
dave

--
Dave Vandervies dj******@csclub.uwaterloo.ca

None of my copies of K&R have a "screen". Should I apply for a refund?
--Chris Dollin in comp.lang.c
Nov 13 '05 #9

P: n/a
On 17 Sep 2003 10:29:03 GMT, Joona I Palaste <pa*****@cc.helsinki.fi>
wrote in comp.lang.c:
Martin Ambuhl <ma*****@earthlink.net> scribbled the following:
ROSY wrote:
hello 2 all,
where can i get interview question on C & C++.

From the other questions you asked, you will not be ready for an interview
for, say 3-4 years, or perhaps never. For damn sure, you're not close to
being employable as a programmer now.


Back in 1999-2000, all you had to know was a "Hello world" program to
get you a trainee job as programmer in at least one company. But those
days are now gone...


....as are many of those companies...

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Nov 13 '05 #10

P: n/a
On Wed, 17 Sep 2003, Mike Wahler wrote:

Joona I Palaste <pa*****@cc.helsinki.fi> wrote in message
news:bk**********@oravannahka.helsinki.fi...
"I have this ten line C function written by an ex-employee. What the
heck was he smoking?"


C-weed.

-Mike


Speaking of week, did you know that possession of marijuana is no longer
illegal in the Canadian province of British Columbia?
Nov 13 '05 #11

P: n/a
> On 17 Sep 2003 10:29:03 GMT, Joona I Palaste <pa*****@cc.helsinki.fi>
wrote in comp.lang.c:
Martin Ambuhl <ma*****@earthlink.net> scribbled the following:
> ROSY wrote:
>> hello 2 all,
>> where can i get interview question on C & C++.

> From the other questions you asked, you will not be ready for an
> interview
> for, say 3-4 years, or perhaps never. For damn sure, you're not
> close to being employable as a programmer now.


Back in 1999-2000, all you had to know was a "Hello world" program to
get you a trainee job as programmer in at least one company. But those
days are now gone...


...as are many of those companies...


No, they just moved to India.

Nov 13 '05 #12

P: n/a

"/dev/null" <ad***@127.0.0.1> wrote in message
news:Xn*******************@140.99.99.130...
On 17 Sep 2003 10:29:03 GMT, Joona I Palaste <pa*****@cc.helsinki.fi>
wrote in comp.lang.c:
Martin Ambuhl <ma*****@earthlink.net> scribbled the following:
> ROSY wrote:
>> hello 2 all,
>> where can i get interview question on C & C++.

> From the other questions you asked, you will not be ready for an
> interview
> for, say 3-4 years, or perhaps never. For damn sure, you're not
> close to being employable as a programmer now.

Back in 1999-2000, all you had to know was a "Hello world" program to
get you a trainee job as programmer in at least one company. But those
days are now gone...


...as are many of those companies...


No, they just moved to India.


You mean the India where the majority of programmers
take their discipline seriously and learn to practice
it effectively and professionally, as opposed to e.g.
the United States (and to some extent Britain) where
the so-called 'universities' churn out clueless
graduates by the thousand? Such people too often
can deceive equally clueless managers into hiring
them, causing economic harm to their employers.
It's a sad state of affairs.

-Mike
Nov 13 '05 #13

P: n/a
want question that really fuck urself contact me at
de**************@rediffmail.com,then u know what is reward of ur
suggestion.
bye,

Martin Ambuhl <ma*****@earthlink.net>
wrote in message news:<SE*******************@newsread2.news.atl.ear thlink.net>...
ROSY wrote:
hello 2 all,
where can i get interview question on C & C++.


From the other questions you asked, you will not be ready for an interview
for, say 3-4 years, or perhaps never. For damn sure, you're not close to
being employable as a programmer now.

Nov 13 '05 #14

P: n/a
In article <73**************************@posting.google.com >,
de**************@rediffmail.com (ROSY) wrote:
want question that really fuck urself contact me at
de**************@rediffmail.com,then u know what is reward of ur
suggestion.
bye,

Martin Ambuhl <ma*****@earthlink.net>
wrote in message
news:<SE*******************@newsread2.news.atl.ear thlink.net>...
ROSY wrote:
hello 2 all,
where can i get interview question on C & C++.


From the other questions you asked, you will not be ready for an interview
for, say 3-4 years, or perhaps never. For damn sure, you're not close to
being employable as a programmer now.


Seems ROSY will not be ready for _any_ kind of job interview any time
soon.
Nov 13 '05 #15

P: n/a
On 25 Sep 2003 23:40:50 -0700, in comp.lang.c ,
de**************@rediffmail.com (ROSY) wrote:
want question that really fuck urself contact me at
de**************@rediffmail.com,then u know what is reward of ur
suggestion.


Its probably worth remembering that this group is read by a very large
number of experienced programmers, many of them in positions of some
seniority in their profession.

You might be lucky, and never encounter any of them while
interviewing. I for one would feel nervous about taking that chance.

So I'd not be so casual about insulting them, if I were you.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
Nov 13 '05 #16

P: n/a
*moron* have u any work if not plz dont join the group.
this is not for ur suggestion.
idiot.
Christian Bau <ch***********@cbau.freeserve.co.uk> wrote in message news:<ch*********************************@slb-newsm1.svr.pol.co.uk>...
In article <73**************************@posting.google.com >,
de**************@rediffmail.com (ROSY) wrote:
want question that really fuck urself contact me at
de**************@rediffmail.com,then u know what is reward of ur
suggestion.
bye,

Martin Ambuhl <ma*****@earthlink.net>
wrote in message
news:<SE*******************@newsread2.news.atl.ear thlink.net>...
ROSY wrote:

> hello 2 all,
> where can i get interview question on C & C++.

From the other questions you asked, you will not be ready for an interview
for, say 3-4 years, or perhaps never. For damn sure, you're not close to
being employable as a programmer now.


Seems ROSY will not be ready for _any_ kind of job interview any time
soon.

Nov 13 '05 #17

P: n/a
ROSY wrote:
*moron* have u any work if not plz dont join the group.


Christian, Martin, Brian, and Joona are all long-time contributors to this
newsgroup. None of them are morons. At least two of them would probably be
considered C language experts by the majority of people in this group, and
indeed they are all experts by the less rigorous standards of the outside
world.

If you insult anyone, you lose a certain amount of respect. If you insult
well-respected and highly-regarded people, you damage your own credibility.

Do you have a brother named Ioannis, by some chance?

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #18

P: n/a
On Mon, 29 Sep 2003 06:09:48 +0000 (UTC), Richard Heathfield
<do******@address.co.uk.invalid> wrote:
ROSY wrote:
*moron* have u any work if not plz dont join the group.


Christian, Martin, Brian, and Joona are all long-time contributors to this
newsgroup. None of them are morons. At least two of them would probably be
considered C language experts by the majority of people in this group, and
indeed they are all experts by the less rigorous standards of the outside
world.

If you insult anyone, you lose a certain amount of respect. If you insult
well-respected and highly-regarded people, you damage your own credibility.

Do you have a brother named Ioannis, by some chance?


Rather mean to refer to Ioannis when he eventually cleaned up his act,
took suggestions, as well as making some worthwhile contributions to
this group (again, eventually). Plus he hasn't posted anything in
here, as far as I know, for months. While I hold no such hope for
this person, continuing to dun someone for past transgressions after
they have modified their behaviour is mean-spirited.

Oz
Nov 13 '05 #19

P: n/a
ozbear <oz****@spamenot.bigpond.com> scribbled the following:
On Mon, 29 Sep 2003 06:09:48 +0000 (UTC), Richard Heathfield
<do******@address.co.uk.invalid> wrote:
ROSY wrote:
*moron* have u any work if not plz dont join the group.
Christian, Martin, Brian, and Joona are all long-time contributors to this
newsgroup. None of them are morons. At least two of them would probably be
considered C language experts by the majority of people in this group, and
indeed they are all experts by the less rigorous standards of the outside
world.

If you insult anyone, you lose a certain amount of respect. If you insult
well-respected and highly-regarded people, you damage your own credibility.

Do you have a brother named Ioannis, by some chance?

Rather mean to refer to Ioannis when he eventually cleaned up his act,
took suggestions, as well as making some worthwhile contributions to
this group (again, eventually). Plus he hasn't posted anything in
here, as far as I know, for months. While I hold no such hope for
this person, continuing to dun someone for past transgressions after
they have modified their behaviour is mean-spirited.


I agree entirely with ozbear. Ioannis wasn't such a bad guy after all.
Please compare ROSY to E. Robert Tisdale instead.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"I am looking for myself. Have you seen me somewhere?"
- Anon
Nov 13 '05 #20

P: n/a
Joona I Palaste wrote:
ozbear <oz****@spamenot.bigpond.com> scribbled the following:
Rather mean to refer to Ioannis when he eventually cleaned up his act,
took suggestions, as well as making some worthwhile contributions to
this group (again, eventually). Plus he hasn't posted anything in
here, as far as I know, for months. While I hold no such hope for
this person, continuing to dun someone for past transgressions after
they have modified their behaviour is mean-spirited.


I agree entirely with ozbear. Ioannis wasn't such a bad guy after all.
Please compare ROSY to E. Robert Tisdale instead.


This is still invidious. ERT isn't anywhere near as
objectionable, nor as ignorant, as ROSY.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 13 '05 #21

P: n/a
Joona I Palaste wrote:
ozbear <oz****@spamenot.bigpond.com> scribbled the following:
Rather mean to refer to Ioannis when he eventually cleaned up his act,
took suggestions, as well as making some worthwhile contributions to
this group (again, eventually). Plus he hasn't posted anything in
here, as far as I know, for months. While I hold no such hope for
this person, continuing to dun someone for past transgressions after
they have modified their behaviour is mean-spirited.
I agree entirely with ozbear. Ioannis wasn't such a bad guy after all.


Well, in the end, yes, he turned out to be more or less okay, and so ozbear
(whose article hasn't hit my server yet) has a point. I was thinking of
Ioannis's Early Period, rather than his Renaissance Period.
Please compare ROSY to E. Robert Tisdale instead.


That would be like comparing... oh, words fail me (for once).

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #22

P: n/a
Richard Heathfield <do******@address.co.uk.invalid> writes:
Joona I Palaste wrote:

[...]
Please compare ROSY to E. Robert Tisdale instead.


That would be like comparing... oh, words fail me (for once).


Like comparing ROSY to E. Robert Tisdale?

But at the very least, I think we can agree that ROSY has flaws that
ERT lacks. (Please, let's not waste our time enumerating them.)

--
Keith Thompson (The_Other_Keith) ks*@cts.com <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"
Nov 13 '05 #23

P: n/a
Keith Thompson wrote:
Richard Heathfield <do******@address.co.uk.invalid> writes:
Joona I Palaste wrote: [...]
> Please compare ROSY to E. Robert Tisdale instead.


That would be like comparing... oh, words fail me (for once).


Like comparing ROSY to E. Robert Tisdale?


Yeah, that's it precisely. Comparing ROSY to E. Robert Tisdale would be like
comparing ROSY to E. Robert Tisdale. Nice one. Thanks.
But at the very least, I think we can agree that ROSY has flaws that
ERT lacks. (Please, let's not waste our time enumerating them.)


In the interests of fairness, I should point out that ROSY lacks a few of
ERT's flaws, too.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #24

P: n/a
de**************@rediffmail.com (ROSY) wrote in message news:<73**************************@posting.google. com>...
*moron* have u any work if not plz dont join the group.
Are you a working programmer?
this is not for ur suggestion.
idiot.

[snip]
Nov 13 '05 #25

P: n/a
Richard Heathfield <do******@address.co.uk.invalid> scribbled the following:
Keith Thompson wrote:
But at the very least, I think we can agree that ROSY has flaws that
ERT lacks. (Please, let's not waste our time enumerating them.)
In the interests of fairness, I should point out that ROSY lacks a few of
ERT's flaws, too.


Such as constantly giving wrong answers to newbies' questions?
(Trivially proven; as ROSY has never given *any* answers to newbies'
questions.)

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
Nov 13 '05 #26

P: n/a
In article <73**************************@posting.google.com >,
de**************@rediffmail.com says...
*moron* have u any work if not plz dont join the group.
this is not for ur suggestion.
idiot.


Anyone else think that "ROSY" is actually a sockpuppet of
one of the regulars? This pseudo-English seems just too
contrived to be real.

Posting through google just to cover up the trail a bit?

--
Randy Howard _o
2reply remove FOOBAR \<,
______________________()/ ()______________________________________________
SCO Spam-magnet: po********@sco.com
Nov 13 '05 #27

This discussion thread is closed

Replies have been disabled for this discussion.