Question: Unable to open this code using GCC, what do I need to change #include int main(void){ int inChar, outChar; while ((inChar = getchar()) != EOF){

Unable to open this code using GCC, what do I need to change

#include

int main(void){

int inChar, outChar;

while ((inChar = getchar()) != EOF){

int number;

if ((inChar >= 'A' && inChar <= 'Z') || (inChar >= 'a' && inChar <= 'z')) {

number = inChar & 0x1F;

number = (((number << 4) | ((number & 2) << 2) | (number & 4) | ((number & 8) >> 2)) | (number >> 4)) & 0x1F;

outChar = (inChar & 96) | number;

}

putchar(outChar);

}

return 0;

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!