In C language address pointer can be applied to variables b

In C language, address pointer (&) can be applied to variables b) In C language, pointer contains the starting address value of loop of statements c) float nptr = & Xarray [0] is a valid declaration d) Unicode declaration of an element takes less memory than ASCII representation e) Lower case ASCII character value is larger than corresponding upper case ASCII character value

Solution

a. True. The reason is that in c the values of the variables are saved in memory location which cannot be accesed without their respective address. And the & address pointer points/maps the name of the variable to the memory location of its value. ex: scanf(\"%d\",&a); here the value from the user is saved to the memory location in the memory.

b. False. No, pointers contain the base/starting address of the array or the variable.

c.False. The reason is that &Xarray[0] is the reference of the value of the first index of the array and only a reference pointer can store the reference value of the reference. float *nptr = &Xarray[0]; will work.

d.False. Unicode is a 16-bit character set and ASCII is a 7-bit character set. So, ASCII takes less space than Unicode

e. True. The ASCII code for \'a-z\' is 97-122 and \'A-Z\' is 65-90.

HOPE THAT HELPS.

THANK YOU FOR USING CHEGG

 In C language, address pointer (&) can be applied to variables b) In C language, pointer contains the starting address value of loop of statements c) float

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site