int main()
{
int value=100;
printf(“value in decimal is:%d\n”,value);
printf(“value in hexa is:%x\n”,value);
printf(“value in octal is:%o\n”,value);
return 0;
}
in this program i m getting the following error
undefined reference to print
ld returned 1 exit status
how can i remove dis error?
see if u are using print or printf
i have used the prinf but still it is giving me the same error
i have used the printf but still it is giving me the same error
it shouldn’t give any error….its running successfully..