Determine if a network interface is wireless or wired – I have a program that has two separate sections: one […]
Category: C Solution
Subtraction without minus sign in C
Subtraction without minus sign in C – How can I subtract two integers in C without the – operator? int […]
C/C++: sizeof(short), sizeof(int), sizeof(long), sizeof(long long), etc… on a 32-bit machine versus on a 64-bit machine
C/C++: sizeof(short), sizeof(int), sizeof(long), sizeof(long long), etc… on a 32-bit machine versus on a 64-bit machine – I’m running Windows […]
C pointer syntax
C pointer syntax – What is the difference between these two lines of code? int *ptr = &x; and void* […]
How to store a version number in a static library?
How to store a version number in a static library? – How can I store a version number in a […]
pthread_create(3) and memory synchronization guarantee in SMP architectures
pthread_create(3) and memory synchronization guarantee in SMP architectures – I am looking at the section 4.11 of The Open Group […]
Portability of using stddef.h’s offsetof rather than rolling your own
Portability of using stddef.h’s offsetof rather than rolling your own – This is a nitpicky-details question with three parts. The […]
Pointer-to-array overlapping end of array
Pointer-to-array overlapping end of array – Is this code correct? int arr[2]; int (*ptr)[2] = (int (*)[2]) &arr[1]; ptr[0][0] = […]
Return Array in C?
Return Array in C? – I cant return array in c,i am quite new to C so i probably do […]
mov ax, [_pOldIrq9Isr]
mov ax, [_pOldIrq9Isr] –