python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How do C output functions actually work under the hood?
I am trying to learn some C, but I am finding some of the standard functions a bit opaque.
Take putc or putchar as an example. I am trying to work out what drives this at the most basic level. I have ...
Luke
Votes: 0
Answers: 2
How can I find source code of printf in macOS?
Sorry for my bad english.
I'm using macOS 12.3 in M1 Pro MacBook Pro
I want to know about source code of printf in C standard library.
I can find stdio.h file in usr/include directory.
But I can't fin...
Temeraire Eurus
Votes: 0
Answers: 1
Passing two references to the same object in strtoul
The following code runs well under gcc 11.2.1:
// test.c
#include<stdio.h>
#include<stdlib.h>
int main(int argc, char **argv){
char *msg;
unsigned int val;
msg = "1024 2...
onlycparra
Votes: 0
Answers: 1
Why does fseek have "long int offset" instead of "long long int offset"?
C2x, 7.21.9.2 The fseek function:
Synopsis
#include <stdio.h>
int fseek(FILE *stream, long int offset, int whence);
Why does fseek have long int offset instead of long long int offset?
It see...
pmor
Votes: 0
Answers: 1