Hi!
I am suppose to write a code that uses this char declaration and its suppose to print out values that can tell me how many bytes are alloted for each variables?
My answer is 1 bytes. Is that correct since there are 4 bits to one byte or is it 8 bits?
Code:#include<stdio.h> int main() { char a, b, c, *p, *q, *r; printf("%p\n%p\n%p\n", a, b, c); printf("%p\n%p\n%p\n", *p, *q, *r); return 0; }
![]()



LinkBack URL
About LinkBacks



