The percent sign is used in format specifiers to indicate the type and format of data to be printed or read using functions like printf and scanf.
Example:
#include <stdio.h>
int main() {
int number = 10;
printf("The value of the number is: %d\n", number);
return 0;
}
Output:
The value of the number is: 10