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...
-
Chapter 1 - Introduction to Computer What is computer? List and describe the five components of Computer. What is Network? What is System So...
-
1.TOPUP Cepat Susut Jika anda merasa topup prepaid anda cepat susut walaupun tak banyak call- ada baiknya anda semak log call/sms/content ...
No comments:
Post a Comment