Thank you for such quick response.
You have mentioned about dangling pointer. Is it 'c' pointer in the above program you are referring to? If it is then I hope c=NULL will solve the problem?
...
Type: Posts; User: Jones_C
Thank you for such quick response.
You have mentioned about dangling pointer. Is it 'c' pointer in the above program you are referring to? If it is then I hope c=NULL will solve the problem?
...
Hi,
I have the following program
pointertst.cpp
---------
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
Hi all, thanks a lot for your suggestions. I incorporated the suggested changes. As suggested I used <stdlib.h> instead of <alloc.h> and also removed the address of operator for scanf( "%s", emparr[...
Hi, I need help for the following program.
In main() when tried to print the values, stored in emparr i.e.,
printf("%s",(emp[i].name));
printf("%d",(emp[i].num));
it is...