home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_04 / 258.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  612KB  |  2550x3300
Labels: book | crt screen | reckoner
OCR: 258 Chapter Arrays and Pointers Learning Activities Compile and execute frequency.c to make sure you understand how works Write program that declares an int and a double variable Initialize allocating the memory int for and an the int and double double variables and by making dynamically your pointer variables point to the new memory Assign to the mem ory for an int and assign 33 456 to the memory for the doubl e Have your program display the assigned values to the terminal screen. 50 Write 9 program that declares char variable and initializes by assigning the address of space that has been dynamically allo- cated for an array of3 chars. Assign the characters and to the cells of the array. Have the contents of the array dis played on the terminal screen Language Elements Introduced in This ...