10/06/2013
DCT1083 Programming Fundamentals : Assignment 3
ASSIGNMENT 3
1. MANAGING MEMORY
1.1 Define the following terms:-
i. Sizeof()
ii. Malloc()
iii. Calloc()
iv. Realloc()
v. Free()
1.2 Write a program fragment how you use a Malloc() and Free() an a c++ program.
2. POINTER
2.1 What is pointer ?
2.2 Why you use pointer?
2.3 What is output by the following program segment?
2.4 What is output by the following program segment?
3. FILE INPUT AND FILE OUTPUT
3.1 Write a program that reads the content of a file(oldfile.dat) as follows and write it into a new file(newfile.dat).
Subscribe to:
Post Comments (Atom)
Cara download Installer windows 10 dalam format ISO
1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan. ...
-
ANSWERS TO CHAPTER EXERCISES (CHAPTER 8) Review Questions 1. List and describe various types of output, including technolog...
-
Based on real life scenario on any local company/ organization which you are very familiar, define the problem that could be addressed thr...
-
Latihan MS Word dengan elemen-elemen:- image, word art, table, shape dan word formatting (font,size,bold, italic,underline)
No comments:
Post a Comment