C Programming and Technical Programming Technical

Are the expressions arr and &arr same for an array of
integers?

Read Solution (Total 3)

C Other Question

If char=1, int=4, and float=4 bytes size, What will be the output of the program ?
#include

int main()
{
char ch = 'A';
printf("%d, %d, %d", sizeof(ch), sizeof('A'), sizeof(3.14f));
return 0;
}
Options
1) 1, 2, 4
2) 1, 4, 4
3) 2, 2, 4
4) 2, 4, 8
Does mentioning the array name gives the base address in
all the contexts?