summaryrefslogtreecommitdiff
path: root/deneme_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'deneme_32.c')
-rw-r--r--deneme_32.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/deneme_32.c b/deneme_32.c
new file mode 100644
index 0000000..65eb5d6
--- /dev/null
+++ b/deneme_32.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+int test(int *i) {
+ *i = 25;
+}
+int main() {
+ int num, *numpo;
+ printf("Bir sayi giriniz: ");
+ scanf("%d",&num);
+ numpo = &num;
+ *numpo = 4;
+ printf("Girdiginiz sayi adresi: %x\n",&num);
+ printf("Girdiginiz sayi adresi: %x\n",numpo);
+ test(numpo);
+ printf("Girdiginiz sayi: %d\n",num);
+}