Search found 1 match

by Orni Noor
Mon Dec 30, 2013 1:19 am
Forum: Volume 100 (10000-10099)
Topic: 10041 - Vito's Family
Replies: 90
Views: 45187

10041 - Vito's Family

I cannot understand why I am getting RUNTIME ERROR in my code. Can anyone please help??? :(

#include<stdio.h>
#include<stdlib.h>
int compare(const void* p1, const void* p2)
{
if (*(long*)p1 < *(long*)p2)
{
return (-1);
}
if(*(long*)p1==*(long*)p2)
{
return (0);
}
if(*(long*)p1> *(long ...

Go to advanced search