GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 34 of 68    Print  
What is linked list? Explain with example program

  
Total Answers and Comments: 2 Last Update: March 09, 2007     Asked by: chiru 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: mohammed umer farooq
 
Link list is a dynamic data structure for storing different type of data which may be primitive data types or user defined data types like structs and classes..Link list always contain the data types which are to be stored in the linked list and a pointer which will be pointing to the next node in the list if it exists..moreover there are diffferent type of link lists. ie singly link list,doubly linked list,circular linked list etc. which are used for specific data storage functionalites

regards
Mohammed

Above answer was rated as good by the following members:
rajani_vaddepalli15
March 03, 2007 05:58:33   #1  
ritesh parkhi        

RE: What is linked list? Explain with example program

Link list is collection of nonpreemtive data types .Link list contain a node with two parts one determines data field and another define the address field which contain the address of next node... Example of linklist is ..Computer in which suppose we would like to open songs and it is reside in F drive ..so weopen My computer ..it shows $ drives after that we select F drive and in last we select song..

Program og link list is...->

typedef struct linklist
{
int data
struct linklist * next;
}node;
node * first *temp *ttemp;
void creat first node(int val)
{
first (node *)malloc(size of (node));
first ->data value;
first ->next null;
}


 
Is this answer useful? Yes | No
March 09, 2007 06:44:02   #2  
mohammed umer farooq        

RE: What is linked list? Explain with example program
Link list is a dynamic data structure for storing different type of data which may be primitive data types or user defined data types like structs and classes..Link list always contain the data types which are to be stored in the linked list and a pointer which will be pointing to the next node in the list if it exists..moreover there are diffferent type of link lists. ie singly link list doubly linked list circular linked list etc. which are used for specific data storage functionalites

regards
Mohammed

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Encapsulation is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse. One way to think about 
Latest Answer : Encapsulation with a simple example would be .Automatic Transmission on an automobile. It encapsulates 100's of bits of information about your engine, such as how much are accelerating, the pitch of the surface you are on, and the position of the ...

Inheritance is the process by which one object acquires the properties of another object.  
Latest Answer : Inheritance is one of the important principles of OOP.Inheritance is the process by which one object acquires the properties of another object.By use of Inheritance , an object need only define those qualities that make it unique within its class.It can ...

The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as as general category for different types of actions. The specific action is determined by 
Latest Answer : Polymorphisam: It can be catagorized into three ways.1. Method Overloading 2. Method Over-riding3. Interface methods implemented differently in different ways in sub-classes.Overloading: Define methods with same name , same return type with different ...

From a practical programming viewpoint, polymorphism exists in three distinct forms in Java: Method overloading Method overriding through inheritance Method overriding through the Java interface  
Latest Answer : Method OverloadingMethod OverridingOperator OverloadingThese are the different forms of Polymorphism in Java. ...

Latest Answer : Data hiding is done by using access specifier and data encapsulation is wrapping of data which use default specifier. ...
Read Answers (18) | Asked by : ramaprasad

Latest Answer : Link list is a dynamic data structure for storing different type of data which may be primitive data types or user defined data types like structs and classes..Link list always contain the data types which are to be stored in the linked list and a pointer ...
Read Answers (2) | Asked by : chiru

What is the difference between docking container and splitter container?What is tree display?Explain with sample prgms.
View Question | Asked by : karthihassan

Explain about void pointer and it's real time usage in Business 
Latest Answer : Pointer to void, or a void pointer, is a special type of pointer that has a great facility of pointing to any data type.Example:int i; float f; int* exf; float* test; then exf=&i;//Corerct-exf ...
Tags : Pointer

Explain Component Object Model used in C, C++ and .NET 
Latest Answer : COM is a platform-independent, distributed, object-oriented system for creating binary software components that can interact. ...


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

SOA Concepts

SOA Concepts Today the concept of Service Oriented Architecture has become ubiquitous Evidence from recent years establish that SOA is not just about hype but a part of every major Business environment The truth is Service Oriented Architecture can be beneficial to Business only when it is utilized
 

How to develop compile and run a C program

The steps involved in building a C program are: 1. First program is created by using any text editor and the file is stored with extension as .c 2. Next the program is compiled. There are many compilers available like GNU C compiler called as gcc, Sun compiler, Borland compiler which is pop
 

Explain about TNSPING

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID. Open Command prompt. Write tnsping < SID for the database connectivity you want to check > If you get the message “Used TNSNAMES
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Web 2.0 Concepts

Web 2 0 Concepts There are a number of important innovations which are expected to play a pivotal role in the introduction of Web 2 0 Some of these innovations are applications that are web based One of the most powerful tools that has allowed this is Ajax mosgoogle Ajax is powerful because it has n
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape