A
Q. What will be output if you will compile and execute the following c code? #include<stdio.h>
int main(){
int i=320;
char *ptr=(char *)&i;
printf("%d",*ptr); return 0;
}
- Correct Answer - Option(C)
- Views: 15
- Filed under category Data Structure and Algorithms (DSA)
- Hashtags:
Discusssion
Login to discuss.