Professional Documents
Culture Documents
PFC Workshop01 2018
PFC Workshop01 2018
Workshop 01
Objectives:
- Exploring memory of a C program
- Write a basic C program
Sample
c:22936 ‘A’
23
i:22936 1
16
l:2293 1000
612
f:22936 0.5
08
d:22936 12.809
00
Complete the code of following program then draw it’s memory structure
(4 marks)
Part 2: Write a basic C program
Write a program that allows user inputting 2 integer and performs 4 operations +, -, *, /,
then the result is printed out to the monitor (6 mark)