C
copx
Is the "-" operator (meaning * (-1) ) part of the standard?
Example program:
#include <stdio.h>
int main(void)
{
int a = -5;
printf("%d", -a); /* should print 5 */
return 0;
}
Is that portable?
Example program:
#include <stdio.h>
int main(void)
{
int a = -5;
printf("%d", -a); /* should print 5 */
return 0;
}
Is that portable?