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;
}
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

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