What does a run-time "null pointer assignment" error mean?

Answers were Sorted based on User's Feedback



What does a run-time "null pointer assignment" error mean?..

Answer / varghese

its means u r assingnning a pointer to an invalid address
location

Is This Answer Correct ?    9 Yes 1 No

What does a run-time "null pointer assignment" error mean?..

Answer / guest

It means that you've written, via a null pointer, to an
invalid location

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More C Interview Questions

how to use virual function in real time example

1 Answers   CTS, Wipro,


Go through this linked list concept.While traversing through the singly linked list sometimes the following code snippet "while(head != NULL)" is used and other times "while(head->link != NULL)"is used(Here head is the pointer pointing to the first node,node has two parts data part and link part).What is the difference between head != NULL and Head->link != NULL and in which situation are they used?

1 Answers   Oracle,


What is the use of a conditional inclusion statement in C?

0 Answers   Global Logic,


Is there a built-in function in C that can be used for sorting data?

0 Answers  


How do you define a string?

0 Answers  






Are comments included during the compilation stage and placed in the EXE file as well?

0 Answers  


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,


What is null character in c?

0 Answers  


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

0 Answers  


What is the difference between int main and void main?

0 Answers  


Why is c known as a mother language?

0 Answers  


Why isnt there a numbered, multi-level break statement to break out

0 Answers  


Categories