473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

c interview questions wiki

hi everyone,

this is a wiki containing questions that might be asked by
interviewers. It can be edited by anyone, so if you have a suggestion
(a potential interview question) please add it here:

http://alien.dowling.edu/~rohit/wiki.../C_Programming

Nov 15 '05 #1
7 2049
Shark wrote:
hi everyone,

this is a wiki containing questions that might be asked by
interviewers. It can be edited by anyone, so if you have a suggestion
(a potential interview question) please add it here:

http://alien.dowling.edu/~rohit/wiki.../C_Programming


Wow, what a bunch of bad questions so far.

I like this one:

"Is return a macro or a function?"

Might as well ask, "Is a horse an amphibian or a reptile?" It has the
same answer, "No."


Brian
Nov 15 '05 #2
Shark wrote:
hi everyone,

this is a wiki containing questions that might be asked by
interviewers. It can be edited by anyone, so if you have a suggestion
(a potential interview question) please add it here:
Here's my potential interview question, then.

Q: Visit this site:
http://alien.dowling.edu/~rohit/wiki.../C_Programming


....and list all the misconceptions, flaws, bugs, and idiocies you can find.
I counted 18, but I probably missed a few.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
mail: rjh at above domain
Nov 15 '05 #3
Richard Heathfield wrote:
Shark wrote:
hi everyone,

this is a wiki containing questions that might be asked by
interviewers. It can be edited by anyone, so if you have a
suggestion (a potential interview question) please add it here:


Here's my potential interview question, then.

Q: Visit this site:
http://alien.dowling.edu/~rohit/wiki.../C_Programming


...and list all the misconceptions, flaws, bugs, and idiocies you can
find. I counted 18, but I probably missed a few.

Good point, a collection of all the horrible things that people come up
with thinking they are insightful questions would make a good quiz. I'd
say taking one glance and fainting away would count as a pass.


Brian
Nov 15 '05 #4
"Default User" <de***********@yahoo.com> wrote in message
news:3m*************@individual.net...
....
Good point, a collection of all the horrible things that people come up
with thinking they are insightful questions would make a good quiz. I'd
say taking one glance and fainting away would count as a pass.


And I wouldn't judge one's ability to think and program by asking the only
thing, C, the most obscure thing as life shows. I'd add the kind of
problem-solving questions as those said to be asked at microsoft. I spent
quite some time solving the sample problems I found on the net. But then I
was asked and given somewhat different questions and probs, more into my
area. Still, those all were great things to think of.

Alex
Nov 15 '05 #5
Default User wrote:
Shark wrote:
hi everyone,

this is a wiki containing questions that might be asked by
interviewers. It can be edited by anyone, so if you have a
suggestion (a potential interview question) please add it here:

http://alien.dowling.edu/~rohit/wiki.../C_Programming


Wow, what a bunch of bad questions so far.


I see that some people from here have been improving it!
Excerpt:

What does a[i]=i++; do?

* Makes those who know C cry.

Brian

Nov 15 '05 #6
Default User wrote:

Default User wrote:
Shark wrote:
hi everyone,

this is a wiki containing questions that might be asked by
interviewers. It can be edited by anyone, so if you have a
suggestion (a potential interview question) please add it here:

http://alien.dowling.edu/~rohit/wiki.../C_Programming


Wow, what a bunch of bad questions so far.


I see that some people from here have been improving it!


Regarding this question:
"How will you obtain the mantissa of a floating point number?"
and this answer:
"depends on specific compiler
It depends on what kind of floating point number it is
(IEEE754 or other?) and its type.

My question is:
Don't the modf functions return the mantissas
of floating point umbers?

--
pete
Nov 15 '05 #7
In article <43***********@mindspring.com>,
pete <pf*****@mindspring.com> wrote:
Regarding this question:
"How will you obtain the mantissa of a floating point number?"
and this answer:
"depends on specific compiler
It depends on what kind of floating point number it is
(IEEE754 or other?) and its type. My question is:
Don't the modf functions return the mantissas
of floating point umbers?


No, the modf() functions break the values into decimal integral part and
decimal fractional part. The mantissa, on the other hand, might
describe the number as written in scientific notation and then
stripped of it's exponent (the E onward), but it might also describe
the binary fraction that is internally stored in the floating
point representation (in which case the "exponent" would be the
binary exponent... and you get issues of "biases" and issues of
special representations for 0...)
--
"Who Leads?" / "The men who must... driven men, compelled men."
"Freak men."
"You're all freaks, sir. But you always have been freaks.
Life is a freak. That's its hope and glory." -- Alfred Bester, TSMD
Nov 15 '05 #8

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

Similar topics

0
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...
0
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...
2
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...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
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...
10
by: weird0 | last post by:
I heard of two c# interview questions that i still clearly don't know and havent understood the concept. One reason is also that I havent worked upon them 1. What is the difference between a...
0
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.