Questions related to the scanf() family of functions in the C runtime library, which read and convert formatted data.
Problem: I need to be able identify when two whitespaces occur consecutively. I have read the following questions: how to …
c whitespace scanf fgetsI have vague memories of suggestions that sscanf was bad. I know it won't overflow buffers if I use the …
c security buffer-overflow scanfWhat is the string format for intptr_t and uintptr_t which is valid for both the 32 and 64 bit architecture . …
c formatting printf scanfThe way that I understand int16_t or int32_t in C is that they are typedefed to be 16 and 32 …
c user-input scanfI mistakenly used scanf("%d\n",&val); in one of my programmes, I could not understand the behavior, the …
c scanfWhat is the difference among these three input functions in programming language. Do they input in different ways from each …
c++ scanfHere's my code. #include<stdio.h> void main(){ FILE *fp; int a,b; fp=fopen("hello.txt","r"); …
c scanf feofI've been trying to use regular expressions on scanf, in order to read a string of maximum n characters and …
c unix scanf expression formatted-input