1 2 3 4 5 6 7 8 9 10 11 12 13 14
//Chapter 26, Example 26.1 clc //Initialisation n=24 //no of bits //Calculation ad=2**n //no of locations //Results printf("No of Locations = %d ",ad)