Subscribe TechModgy to learn about new technologies!

What will be output if you will compile and execute the following c code?
int main(){
int i=320;
char *ptr=(char *)&i;
return 0;

A. 1

B. 64

C. 320

D. Compiler Error

Please do not use chat terms. Example: avoid using "grt" instead of "great".