What is a 'null pointer assignment' error?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What would be an example of a structure analogous to structure c?

0 Answers  


what is the benefit of c30

2 Answers  


What is the purpose of sprintf?

0 Answers  


ratio,age,persentage

0 Answers  


What are the ways to a null pointer can use in c programming language?

0 Answers  






#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


What is the relation between # and include<stdio.h>

5 Answers   HCL,


what are bit fields? What is the use of bit fields in a structure declaration?

0 Answers   Flextronics, TISL, Virtusa,


void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case

9 Answers   Accenture, TCS,


In C language what is a 'dangling pointer'?

0 Answers   Accenture,


Between macros and functions,which is better to use and why?

0 Answers  


Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).

0 Answers  


Categories