473,811 Members | 4,039 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

1000 C,C++,RDBMS,Uni x,OS Interview Questions And Answers

1000 C,C++,RDBMS,Uni x,OS Interview Questions And Answers
I have listed over 1000 C,C++,RDBMS,Uni x,OS questions and answers
in my website
http://www.geocities.com/online_learning_qa
So please have a look and make use of it.

May 1 '06 #1
1 5972
<so************ ******@gmail.co m> wrote in message
news:11******** **************@ g10g2000cwb.goo glegroups.com.. .
http://www.geocities.com/online_learning_qa
So please have a look and make use of it.


Don't bother.

What you'll find will be pages full of advertising with interspersed links
to (unclassified) "interview questions." If you follow those links, you
will find lists of (again unclassified) questions combined with answers that
are sometimes correct. Sometimes the question is on one page and the answer
on another.

For example, the question that ends
http://www.geocities.com/online_lear...earning-11.htm is

main()
{
int i=5;
printf("%d%d%d% d%d%d",i++,i--,++i,--i,i);
}

I guess this is intended as a C problem, because there's no return type.
For that matter, there's no declaration for printf.

Anyway, most readers should immediately realize that the result
of executing this program is undefined, because it modifies the
variable "i" more than once between sequence points.

The recommended "answer," which appears on
http://www.geocities.com/online_lear...earning-12.htm, is

Answer:
45545
Explanation:
The arguments in a function call are pushed into the stack from left to
right. The evaluation is by popping out from the stack. and the evaluation
is from right to
left, hence the result.

This is, of course, nonsense. Worse than that, it is dangerous nonsense,
because if you happen to be using an implementation that behaves this
way consistently, you might be lulled into believing that all
implementations
behave this way, and therefore write programs with errors that testing
on your implementation can never reveal.
I found this error by looking through the text at random, so I am quite
confident
that there are others of similar magnitude.
May 1 '06 #2

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

Similar topics

27
3044
by: Jatinder | last post by:
I 'm a professional looking for the job.In interview these questions were asked with some others which I answered.But some of them left unanswered.Plz help. Here are some questions on C/C++, OS internals? Q1 . What is the use of pointer to an array? Q2 . What is the use of array of pointers? Q3 . What is the use of pointer to function ? Q4 . How to print through serial port? What is Flow Control(Xon,Xoff) ?
8
5645
by: Method Man | last post by:
Hi all, I was wondering if any of you could post some links to sites with good C++ interview questions. An answer key is preferred but not necessary. The Q's can range from entry level to senior level developers, it doesn't matter. My main focus right now is pointers and string/data structure algorithms, but anything C++ related would be great. Thanks!
18
4398
by: Matt | last post by:
I had these questions in an interview today: 1. Define a class using C. 2. Write a C functions that does garbage collection: frees all allocated memories. 3. Define semaphore. 4. What is parallel programming and what kind of problems you will face in this kind of programmings?
0
4108
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
6171
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
1958
by: JS Smith | last post by:
Hello Dears We have collected Questions and answers for interviews after a long effort and you study these questions and its answers freely our website. If you have any query regarding to interview you contacts with us we have reply your problem as soon as possible. I am very Thank full to you. http://interview.ifastnet.com These question will help you when you going to interview in any organization.
0
3282
by: Jobs | last post by:
C# , SQL Server , Vista , Ajax Interview questions links Full eBook with Vista , Ajax , SQL Server , UML and Architecture interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Marks good list of Interview questions
2
3681
by: nivedita | last post by:
Hi All, I want to dot net interview question with answer if any one have question with answer please send me.. i am fresher Thanks in advance.. Nivedita
0
4517
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
9604
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
10379
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...
1
10394
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10127
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
7665
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
6882
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
5552
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
4336
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
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.