356 views
1 votes
1 votes
We know that UNIX support  a feature that allows for variable field with precision.

please help me out in this statement ->

printf(“% * .* s \n”,w,d,string); ?

i know using of precision with string such as %10.4s <width>.<precision> indicating that first four character to be printed in a field with 10 columns.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
2
Hira Thakur asked Aug 18, 2017
288 views
how to deal with multiple printf statement in C language. how this code will work??void main(){clrscr();printf("%d%d%d", printf("GATE"),printf("2018"),printf("IITian"));}...
2 votes
2 votes
0 answers
3
adwaitLP asked Oct 10, 2016
1,176 views
Very basic C language doubt regarding \5 #include <stdio.h int main() { printf("\5"); return 0; }why the output of this code is ♣??
3 votes
3 votes
1 answer
4