What should be the answer of the below code?
Please explain the logic used.
#include <stdio.h> int main() { int i = 258; int *iptr = &i; printf("%d%d", *((char*)iptr), *((char*)iptr + 1)); }
64.3k questions
77.9k answers
244k comments
80.0k users