GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 106 of 110    Print  
Null Pointers
What is the use of null pointers?


  
Total Answers and Comments: 1 Last Update: August 31, 2009     Asked by: varsha_vn 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 31, 2009 04:58:22   #1  
sriranga.ch Member Since: August 2008   Contribution: 5    

RE: Null Pointers
Usually in C. If are nor initialized any thing automatically some garbage information will be palced in variable. In pointers also same if we are not initialized with any variable address it will point to some memory. Avoid accessing of some other memory initialized with Null.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : A Null pointer is one which does not refer to any thing Far pointer refers to an address which not in the same segment where pointer is defined. Near pointer refers to an address in the same segment where the pointer is defined Regards Mulay Chetan ...

Latest Answer : #include#includevoid main(){int i,flag=0,k,l,m,n;char str[100];clrscr();printf("enter the string n");scanf("%s",str);l=strlen(str);printf("%d",l);l=l-1;i=0;while(strcmp(str[i],str[l])==0){if(i+1==l){printf("its ...
Read Answers (2) | Asked by : Dhanesh

Latest Answer : Internally NULL is defined as 0, this may varies compiler to compiler. so just think the above statement like this.char p = 0;char &q = p;if you see output of q it will be 0. if we change it likechar p = 65;char &q = p;output of q would be 'A'. ...

What is NULL Macro? What is the difference between a NULL Pointer and a NULL macro? 

What is the purpose and use of function pointers?  
Latest Answer : Function pointer holds the address of a function. Every function has a address. We can call the function by calling the function pointer. ...
Read Answers (1) | Asked by : rkanna

What is the use of null pointers? 
Latest Answer : Usually in C. If are nor initialized any thing automatically some garbage information will be palced in variable. In pointers also same if we are not initialized with any variable address it will point to some memory. Avoid accessing of some other memory ...


 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
 

C++ Pointers

C Pointers Concept of Pointers Every storage location of memory has an associated address Address is a number that grows sequentially For every program placed in memory each variable or function in the program has an associated address mosgoogle center The address of operator The address of operator
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

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
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

The Difficult Past of Neuro-linguistic programming

The Difficult Past of Neuro linguistic programming Neuro linguistic programming has had a rocky past with a number of lawsuits rivalry unsystematic development and intermittent progress During the 1980s the two founders separated after the lawsuit filed by Bandler Bandler went on to file several law
 

History of Neuro Linguistic Programming (NLP)

History of Neuro linguistic programming Neuro Linguistic Programming NLP is a system co founded by John Grinder and Richard Bandler for bringing about personal development in any individual by interpreting and translating the human perception experience beliefs and language It was developed in early
 

The Use of Access Specifiers In Object Oriented Programming

The Use of Access Specifiers In Object Oriented Programming In object oriented programming a variable will have a certain range This range can be defined as the place where it can be viewed In most cases there are two simple models that are used and these are lexically scoped and dynamically scoped
 

Class-based Object Oriented Programming

Class based Object Oriented Programming Class based object oriented programming is a style that gains inheritance by processing classes as objects The most prominent style of OOP is class based instead of object based With the class based OOP system objects are units that merge states identities and
 

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