There are two ways to display these symbols.
printf("%c %c", '%', '/');
printf("//"); // it will print the "/" symbol as a output.
printf("%%"); // it will print the "%" symbol as a output.
and if you want print both the symbols in a single printf(), then
- printf("/%%"); // output is /%
or
- printf("%%/"); // output is %/