Ex - Q2: How we declare the array?
Ans:
Arrays must be declared before they can be used in the program. Standard array declaration is as type variable_name[lengthofarray];Here type specifies the variable type of the element which is going to be stored in the array. In C programmin language we can declare the array of any basic standard type which C language supports.
if you declare i as register compiler will treat it as ordinary integer and it will take integer value. i value may be stored either in register or in memory.
|