commit 220bbc82a3be114f89bfdc5a8e68c42d3438b28a Author: Mehmet Kıyık Date: Fri Oct 2 23:16:58 2026 +0300 First commit diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5c7247b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,7 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..865ba8b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,28 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: gcc.exe build active file", + "command": "C:\\msys64\\ucrt64\\bin\\gcc.exe", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}\\${fileBasenameNoExtension}.exe" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +} \ No newline at end of file diff --git a/C_pointer_2.c b/C_pointer_2.c new file mode 100644 index 0000000..e69de29 diff --git a/C_pointers_1.c b/C_pointers_1.c new file mode 100644 index 0000000..39a2c7e --- /dev/null +++ b/C_pointers_1.c @@ -0,0 +1,38 @@ +#include + +int main() +{ + int n,i,j; + int array[n]; + int *ptr = array; + + + printf("Enter the size of the array: "); + scanf("%d", &n); + + for(i=0;i