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 |
Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.
What is a const pointer?
program for comparing 2 strings without strcmp()
What is local and global variable in c?
What is LINKED LIST? How can you access the last element in a linked list?
Write any data structure program (stack implementation)
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
Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above
What is external variable in c?
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; } }
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 ?