Sunday, January 27, 2013

Pointer(5)


Create a program comprised three variables a, b, c which fed from the main function is then passed to the function without the need for return values​​. The third output is the variable whose value is two times the previous
========================================================================
Buatlah program terdiri 3 variable a, b, c yang di inputkan dari fungsi main kemudian dilewatkan ke fungsi yang tanpa memerlukan nilai balikan. Outputnya adalah ketiga variable tersebut yang nilainya dua kali sebelumnya

Script Program :

Saturday, January 26, 2013

Pointer(4)



Create a program that displays inverted sentences from a sentence entered
For example:
Enter a sentence: kasur
Opposite: rusak

========================================================================

Buatlah program yang menampilkan kalimat terbalik dari suatu kalimat yang diinputkan
Misal:
Masukkan sebuah kalimat: kasur
Kebalikannya: rusak


Script Program :

Friday, January 25, 2013

Pointer(3)

Create a program to answer the question below:
aziz = 57 082
defa = aziz
dewi = defa +1
a. how the value of defa?
b. how the value of dewi?
aziz = 57 082
defa = & aziz
dewi = defa * +1
a. how the value of defa?
b. how the value of dewi?

========================================================================

Buatlah program untuk menjawab pertanyaan di bawah ini:
aziz = 57082
defa = aziz
dewi = defa +1
a. berapa nilai defa?
b. berapa nilai dewi?
aziz = 57082
defa = &aziz
dewi = *defa+1
a. berapa nilai defa?
b. berapa nilai dewi?


Script Program :

Thursday, January 24, 2013

Pointer(2)


Create a program to calculate a lot of character
========================================================================
Buatlah program menghitung banyak karakter

Script Program :

Wednesday, January 23, 2013

Pointer(1)

Here is a program that uses the output of the function pointer. Run the program and program flow analysis.
========================================================================
Berikut ini adalah program yang menggunakan suatu pointer output dari fungsi. Jalankan program ini dan analisis alur programnya. 

Script Program :