a basic doubt in c program

There exists plenty of characters in the keyboard and why is only % symbol used for all the replacements i.e; %d,%f,&lf etc…

Good Question. It is pretty much an arbitrary choice. Please check the answer of Stephen C in this link.

Sir,
Thanks a lot for spending your valuable time.The link you provided cleared my doubt.

Cheers mate!

i would say you google it before asking such question here…

1 Like

I am sure, They must have choosen it, …well coz they had to choose one…Haha!

//