Y
Hacker News
new
|
ask
|
show
|
jobs
by
marshray
47 days 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?