C C++ Errors Question:
void main()
{
int i=7;
printf("N= %*d",i,i);
}
Answer:
Its output would be 7,
"%*d"
here * symbol doesn't affect of operation of %d.
so 7 is set to value in variable i.
"%*d"
here * symbol doesn't affect of operation of %d.
so 7 is set to value in variable i.