473,698 Members | 2,556 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

c interview

hi....i am preparing for interview...whe re can i get helpful c
interview questions and tips...also,can anybody provide me with a soft
copy of the c-faq book...thanx and regards..

eric

Aug 1 '06 #1
27 2317
di**********@ya hoo.com writes:
hi....i am preparing for interview...whe re can i get helpful c
interview questions and tips...also,can anybody provide me with a soft
copy of the c-faq book...thanx and regards..
<http://www.c-faq.com/>

I'm not sure whether it contains everything that's in the book.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Aug 1 '06 #2
Hi eric,
di**********@ya hoo.com wrote:
hi....i am preparing for interview...whe re can i get helpful c
interview questions and tips...
See if these puzzles are of any help to you:
http://www.gowrikumar.com/c/index.html

Regards,
Gowri Kumar

Aug 1 '06 #3
gk*******@gmail .com wrote:
See if these puzzles are of any help to you:
http://www.gowrikumar.com/c/index.html
IMHO, most of these questions are reflective of the silly "gotcha"
questions that often pass as interview questions - not *your* fault,
of course. However, regular readers of comp.lang.c will find a number of
things to nitpick about that you (and many employers) have either
failed to account for or are simply unaware of. To cite possibly the
most obvious example, the return value of malloc() is always cast in
your sample questions; a quick Google search of this group's archives
will reveal that the experts' consensus is that this is a bad idea, an
opinion shared by the FAQ:

http://c-faq.com/malloc/cast.html
http://c-faq.com/malloc/mallocnocast.html

I believe a thorough reading of the FAQ will help you improve both
your quiz and your practical knowledge of C.

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gma il.com | don't, I need to know. Flames welcome.
Aug 2 '06 #4
Hi Benson,
Glad to see your reply.
However, regular readers of comp.lang.c will find a number of
things to nitpick about that you (and many employers) have either
failed to account for or are simply unaware of.
Firstly, I'm not an expert in C programming and I'm still learning.
It's an effort I'm making to share the little knowledge I have gained
with others and also to learn more in the process
I would be grateful, if you/anyone here can point out all the mistakes
and provide the suggestions to make it better.
To cite possibly the
most obvious example, the return value of malloc() is always cast in
your sample questions; a quick Google search of this group's archives
will reveal that the experts' consensus is that this is a bad idea, an
opinion shared by the FAQ:

http://c-faq.com/malloc/cast.html
http://c-faq.com/malloc/mallocnocast.html
I would modify the sources appropriately.
I believe a thorough reading of the FAQ will help you improve both
your quiz and your practical knowledge of C.
Thanks for the suggestion. I will do that soon.

Also, if anyone has else has feedback on the questions, please feel
free to send them across to me.

Have a terrific day!!!

Regards,
Gowri Kumar

Aug 2 '06 #5

Christopher Benson-Manica wrote:
gk*******@gmail .com wrote:
See if these puzzles are of any help to you:
http://www.gowrikumar.com/c/index.html

IMHO, most of these questions are reflective of the silly "gotcha"
questions that often pass as interview questions - not *your* fault,
of course. However, regular readers of comp.lang.c will find a number of
things to nitpick about that you (and many employers) have either
failed to account for or are simply unaware of. To cite possibly the
most obvious example, the return value of malloc() is always cast in
your sample questions;
To be fair though, in one of them at least that's part of the point of
the example - the lack of a proper declaration of malloc() is the cause
of the problem, and the cast hides it (sometimes). It is a shame that
having started off with a good example of why it's bad to cast
malloc(), the rest of the examples do so!

The site reminds me of a classic FAQ list I came across once; answers
and explanations would be helpful.

Aug 2 '06 #6
hi GK...u rocks...ur questions too!!!....thanx for the materials...i am
also learning c and found ur reference to be very interesting.... hav u
got ny soft-copy of the book programming pearls...i would like to hav
it....bye..rega rds...eric

Aug 2 '06 #7
di**********@ya hoo.com wrote:
hi GK...u rocks...ur questions too!!!....thanx for the materials...i am
also learning c and found ur reference to be very interesting.... hav u
got ny soft-copy of the book programming pearls...i would like to hav
it....bye..rega rds...eric
Well boy, keep emitting this shitty language and
I am sure you will join the dole.
Aug 2 '06 #8
di**********@ya hoo.com writes:
hi GK...u rocks...ur questions too!!!....thanx for the materials...i am
also learning c and found ur reference to be very interesting.... hav u
got ny soft-copy of the book programming pearls...i would like to hav
it....bye..rega rds...eric
*Please* don't use silly abbreviations when you post here. Take the
time to spell out words: "you", "your", "have", "any", etc.
Capitalize the word "I" and the first word of each sentence. A
sentence ends with a single ".", not an ellipsis "...".

We're here to communicate. If you're not interested in doing so, try
somewhere else.

I'm familiar with the book "Programmin g Pearls". As far as I know,
there is no legally obtainable soft copy (and we will not help you
obtain an illegal one).

A good introduction to this newsgroup is at
<http://clc-wiki.net/wiki/Introduction_to _comp.lang.c>.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Aug 2 '06 #9
Hi Benson,
http://c-faq.com/malloc/cast.html
http://c-faq.com/malloc/mallocnocast.html
I would modify the sources appropriately.
Done.
I have modified the sources (except one) using malloc to not to cast.

Anything else needs to be corrected?

Regards,
Gowri Kumar

Aug 2 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4096
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for all companies between year 2000-2005 in my website http://www.geocities.com/allinterviewquestion/ So please have a look and make use of it.
0
6166
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip 2000 Interview questions of .NET , JAVA and SQL Server Interview questions (worth downloading it)
2
6956
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
0
4591
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
7219
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
0
2665
by: freesoftwarepdfs | last post by:
Ultimate list of Interview question website.....Do not miss it http://www.questpond.com http://msdotnetsupport.blogspot.com/2007/01/net-interview-questions-by-dutt-part-2.html http://msdotnetsupport.blogspot.com/2006/08/net-windows-forms-interview-questions.html http://msdotnetsupport.blogspot.com/2006/08/net-remoting-interview-questions.html http://msdotnetsupport.blogspot.com/2006/08/c-interview-questions.html...
0
4499
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers-6.html C# Interview Questions and Answers 5...
0
3428
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions http://interviewdoor.com/technical/C-Interview-Questions.htm C# Interview Questions http://interviewdoor.com/technical/C-sharp-Interview-Questions.htm C++ Interview Questions http://interviewdoor.com/technical/C++-Interview-Questions.htm
0
2941
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions http://interviewdoor.com/technical/C-Interview-Questions.htm C# Interview Questions http://interviewdoor.com/technical/C-sharp-Interview-Questions.htm C++ Interview Questions http://interviewdoor.com/technical/C++-Interview-Questions.htm
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.