• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 2

Why do we use -3 or any Number in between % and d ?

Why do we use any number in%d ? Example :- printf("%-3d",l--);

cintformatprogrammingprintfprogramminglanguagecprogrammingcplspacifiersnotanswered
14th Oct 2019, 6:56 PM
Prince
Prince - avatar
1 Respuesta
+ 1
Read about it in the following link, under flags section. http://www.cplusplus.com/reference/cstdio/printf/
14th Oct 2019, 7:52 PM
Ipang

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Functions in python
2 Votes
How to make a playground
1 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
1 Votes
Html 5 document question
1 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Python
0 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes
Can someone explain inline and block elements please
0 Votes
Can you tell what is wrong with the code
0 Votes