Search Results

Search: Posts Made By: vijaymrt
Forum: Programming 02-21-2010
17,109
Posted By vijaymrt
Thank you ppl
Thank u for ur time ppl. made a mistake at other part of prog so null was being to ptr...
Forum: Programming 02-19-2010
17,109
Posted By vijaymrt
C++ segmentation fault while checking for null pointer
void disptree(node *ptr)
{
if ((ptr->left) !=NULL)
disptree(ptr->left);

cout<<"Position:"<<ptr->pos<<" Data:"<<ptr->data<<endl;

if ((ptr->right)!=NULL;
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy