T
Tarique
Hello.
#include<stdio.h>
int main(void)
{
int i=- -2;
printf("%d",i);
return 0;
}
The program above prints 2
int main(void)
{
int i=--2;
printf("%d",i);
return 0;
}
This one gives an obvious error ('--' needs l-value )
What i would like to know is that isn't int i=- -2;
supposed to mean the same as int i= --2;
Why does the white space become significant here?
#include<stdio.h>
int main(void)
{
int i=- -2;
printf("%d",i);
return 0;
}
The program above prints 2
int main(void)
{
int i=--2;
printf("%d",i);
return 0;
}
This one gives an obvious error ('--' needs l-value )
What i would like to know is that isn't int i=- -2;
supposed to mean the same as int i= --2;
Why does the white space become significant here?