5 Commits

Author SHA1 Message Date
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
84c1aa6a02
changed code to the older version 2025-04-12 22:02:46 +03:00
c788fa919f
unsigned int fix 2025-04-12 21:58:40 +03:00
70b12c1d28
trying to understand and fix the issue hex read scanf 2025-04-12 21:56:49 +03:00
ffca2a7d25
hex read scanf example 2025-03-21 13:10:07 +03:00