What does a run-time "null pointer assignment" error mean?
Answers were Sorted based on User's Feedback
Answer / varghese
its means u r assingnning a pointer to an invalid address
location
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / guest
It means that you've written, via a null pointer, to an
invalid location
Is This Answer Correct ? | 0 Yes | 6 No |
how to use virual function in real time example
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?
What is the use of a conditional inclusion statement in C?
Is there a built-in function in C that can be used for sorting data?
How do you define a string?
Are comments included during the compilation stage and placed in the EXE file as well?
#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
What is null character in c?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is the difference between int main and void main?
Why is c known as a mother language?
Why isnt there a numbered, multi-level break statement to break out