Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

space after format specifiers in c

//space before a format specifier (for example %c) will skip any number of whitespaces before it unless it is interrupted by a non whitespace character.
//example below
int a;
char c;
scanf("%d %c",&a,&b);
 
PREVIOUS NEXT
Tagged: #space #format #specifiers
ADD COMMENT
Topic
Name
7+2 =