45f7da58f9
hex read scanf
2025-06-18 07:35:11 +03:00
Mert Gör
97d77a3ff6
changed code removed main from each file
2025-04-12 22:53:01 +03:00
Mert Gör
d6283d31cd
new file = main.c and modified hex_read_scanf.c removed main from hex_read_scanf.c
2025-04-12 22:29:04 +03:00
Mert Gör
0bb57da7ec
first code
2025-04-12 22:12:51 +03:00
Mert Gör
79f83aa190
int main() {
...
unsigned int a; // Change 'int' to 'unsigned int'
printf("Enter your number: ");
scanf("%x", &a); // Now 'a' matches '%x' expected type
printf("a = %u\n", a); // Use '%u' to correctly print an unsigned int
return 0;
}
2025-04-12 22:09:27 +03:00
Mert Gör
84c1aa6a02
changed code to the older version
2025-04-12 22:02:46 +03:00
Mert Gör
c788fa919f
unsigned int fix
2025-04-12 21:58:40 +03:00
Mert Gör
70b12c1d28
trying to understand and fix the issue hex read scanf
2025-04-12 21:56:49 +03:00
Mert Gör
ffca2a7d25
hex read scanf example
2025-03-21 13:10:07 +03:00