LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-13-2004, 02:01 PM   #1
vijeesh_ep
Member
 
Registered: Jul 2004
Location: India
Distribution: Redhat-8
Posts: 35

Rep: Reputation: 15
Question Null Pointer


What does the error "Null Pointer Assignment" mean ? what causes it?.
 
Old 08-13-2004, 02:11 PM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
I believe it's usually caused when you have something like this:
Code:
{
  int *ptr = NULL;

  *ptr = 5;
}
 
Old 08-13-2004, 02:43 PM   #3
vijeesh_ep
Member
 
Registered: Jul 2004
Location: India
Distribution: Redhat-8
Posts: 35

Original Poster
Rep: Reputation: 15
Actually I want to know What causes "Null Pointer Assignment "error.plz explain in plain english
 
Old 08-13-2004, 02:51 PM   #4
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
Then try doing a search. Learn how to use google. And also try to be a little more specific with your questions. Such as: When did you get the error? What OS are you using? What compiler are you using? etc.

Here. I did the work for you: http://www.faqs.org/faqs/msdos-progr...ection-25.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Null Pointer Dereference Error Smillie Slackware 3 04-27-2005 05:21 PM
kernel NULL pointer problem branden_burger Linux - General 0 04-06-2005 09:57 AM
NULL pointer dereference error Mercman2000 Linux - General 1 03-21-2005 09:36 PM
freeConfModules called with NULL pointer... opioid Linux - Software 1 10-31-2004 09:04 PM
<1> Unable to handle kernel NULL pointer ... jamaso Slackware 3 09-27-2002 01:35 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration