What will be printed as a result of the program?
#include <iostream>
using namespace std;
int main(int argc, char * argv[])
   signed char a = -128;
   a = -a;
   cout << static_cast< int >(a) << endl;
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes