This blog assists in mastering C and C++ programming skills from basics to advanced levels.
why ch1,ch1 is taken
In the statement: printf("ASCII value of %c is %d ",ch1,ch1);we are using two format specifiers: %c and %d; hence ch1 is written twice.
why ch1,ch1 is taken
ReplyDeleteIn the statement: printf("ASCII value of %c is %d ",ch1,ch1);
Deletewe are using two format specifiers: %c and %d; hence ch1 is written twice.