As per the specifications the compiler should be based on C99. But i think it
still does not handle the function call strtoll(). This issue did not arise
with RHL 9.0
If it did the handling properly then the result of the program should not be 0.
/*Snippet of the Code */
#include<stdio.h>
#include<stdlib.h>
int main()
{
char *a = "89abcdef";
long long int c;
a[8] = '\0';
c = strtoll(a, NULL, 16);
printf("the num is %8x", c);
return 0;
}
My understanding of the OS, Platform (SPARC), ofcourse C is just of a beginner
and am eager to learn, please provide supporting comments..
Thanks and Regards