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

Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.

5 Answers  


What is a const pointer?

0 Answers  


program for comparing 2 strings without strcmp()

4 Answers  


What is local and global variable in c?

0 Answers  


What is LINKED LIST? How can you access the last element in a linked list?

0 Answers   ADP,






Write any data structure program (stack implementation)

1 Answers   HTC,


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above

5 Answers   Accenture, TCS,


What is external variable in c?

0 Answers  


what is available in C language but not in C++?

10 Answers   CTS, TCS,


what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }

4 Answers  


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,


Categories