C C++ Errors Question:
Download Job Interview Questions and Answers PDF
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.
Download C C++ Errors Interview Questions And Answers
PDF