What are dangling pointers?
Answer / nashiinformaticssolutions
Pointers pointing to memory that has been deallocated.
| Is This Answer Correct ? | 0 Yes | 0 No |
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,
write a program for the normal snake games find in most of the mobiles.
in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000
What is structure of c program?
Does c have class?
wt is d full form of c
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
How to write a program to receive an integer & find its octal equivalent by using for loop?
compare array with pointer?
#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }
12 Answers Capital IQ, Sasken,
How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?