summaryrefslogtreecommitdiff
path: root/deneme_24.c
diff options
context:
space:
mode:
authorb4rkod <void@Asena.localdomain>2024-01-17 21:17:07 +0300
committerb4rkod <void@Asena.localdomain>2024-01-17 21:17:07 +0300
commitb03b61b232c1fa0b9ff1ae607232f8ab3f55ea38 (patch)
tree9169255eae57e59035595768e8dd46cfaba28f50 /deneme_24.c
parent2fa043277b090a37b3f378a2fefccc57b5bd2814 (diff)
Diffstat (limited to 'deneme_24.c')
-rw-r--r--deneme_24.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/deneme_24.c b/deneme_24.c
new file mode 100644
index 0000000..c3e6e7b
--- /dev/null
+++ b/deneme_24.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <string.h>
+
+int main() {
+ char input[200];
+
+ printf("Write what you want to write: ");
+ gets(input);
+
+ int strleng = strlen(input);
+
+ printf("%c\n",input[strleng-1]);
+
+}