Comment by marshray
19 hours ago
Are you claiming that the following program could possibly print "-1" ?
#include <stdio.h>
int main() {
unsigned short a = 1;
long b = a;
printf("%ld\n", b);
}
If not, why?
19 hours ago
Are you claiming that the following program could possibly print "-1" ?
#include <stdio.h>
int main() {
unsigned short a = 1;
long b = a;
printf("%ld\n", b);
}
If not, why?
No comments yet
Contribute on Hacker News ↗