To be on the same page, let's assume sizeof(int)=4 and sizeof(long)=8.
Given an array of integers, what would be an efficient method to logically bitshift the array to either the left or ...
#include int main() { int n = 88; char ch; //ch = n - '0'; <<== Not what you want ch = (char) n; //or just ch = n; printf("\nN = %d, Ch = %c, hexN = %x, hexCh = %x", n, ch, n, ch); printf("\nSizeof(N) = %d, Sizeof(ch) = %d", sizeof n, sizeof ch); printf("\n\n\t\t\t press enter when ready"); ...