GeekInterview.com
Series: Subject: Topic:

Unix Programming Interview Questions

Showing Questions 41 - 45 of 45 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Give examples of how memory leaks can occur with C programs?

Asked By: Interview Candidate | Asked On: Jun 8th, 2005

Answer posted by sonal on 2005-06-08 08:15:23: a memory leak occurs when mem is allocated but never freed . Leakes can b caused by using malloc() without using any free(). but leaks can also be caused if a pointer to dynamically allocated memory is delleted overwritten , it can be caused when allocated...

Answered by: Jerry on: Jul 26th, 2006

The former example explains dangling pointers which are a form of leaked memory. In book terms though, the former explanations are more true. Any memory malloc'd or new'd in C++ and not free'd or de...

Answered by: Ravikumar on: Jul 14th, 2006

        Memory leak example occurs when a developer allocates memory, assigns it to a pointer, and then assigns a different value to the pointer without freeing the ...

What type of scheduling is used in UNIX?

Asked By: Interview Candidate | Asked On: Sep 5th, 2005

Answered by: GOPI on: Jul 22nd, 2006

Multi level Round Robin Scheduling algorithm

Answered by: dureja_jobs2005 on: Dec 2nd, 2005

Multi Level Feedback Queue Scheduling with each queue in round robin

Explain difference between ipc mechanisms?

Asked By: lohith14 | Asked On: Dec 16th, 2005

Answered by: ksp on: Jul 5th, 2006

PIPE: Only two related (eg: parent & child) processess can be communicated. Data reading would be first in first out manner.Named PIPE or FIFO : Only two processes (can be related or unr...

Answered by: prasad on: Dec 22nd, 2005

ipc mechanisms are mianly 5 types1.pipes:it is related data only send from one pipe output is giving to another pipe input to share resouses pipe are useddrawback:itis only related process only commun...

What are the differences between shared and dynamic libraries?

Asked By: Interview Candidate | Asked On: May 30th, 2005

Answered by: malathi on: May 27th, 2006

system allow us to create and use two kinds of libraries - static libraries and shared (or dynamic) libraries.shared and dynamic libraries are one and the same. the object files from the dynamic(shared ) library are not inserted into the executable file unlike static lib...

Answered by: dinesh on: Apr 26th, 2006

: There are two ways in which a library is shared. Static and dynamic In statically linked library the code of library is referenced at compile time and the result executable will be bigger....

If you want to migrate a 32 bit application to a 64 bit os, what all would you check?

Asked By: Interview Candidate | Asked On: May 30th, 2005

Answered by: Sunny on: Dec 25th, 2005

I am assuming the question is - port 32 bit appl to 64 bit os.This can a simple checklist of things one can check for -1. Int, long will be 64 bits so care should be taken to see if there are any comp...

Answered by: kalyan_alle on: Oct 21st, 2005

sir can anybody tell me whats the answer fo this question in the comment title box

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.