Why does this code give the output C++Sucks
? What is the concept behind it?
#include <stdio.h>
double m[] = {7709179928849219.0, 771};
int main() {
m[1]--?m[0]*=2,main():printf((char*)m);
}
Test it here.
Why does this code give the output C++Sucks
? What is the concept behind it?
#include <stdio.h>
double m[] = {7709179928849219.0, 771};
int main() {
m[1]--?m[0]*=2,main():printf((char*)m);
}
Test it here.