bold text in C

In C programming, you can use the printf function to output bold text to the console by using escape sequences. Here's an example:

#include <stdio.h>

int main() {
    printf("\033[1mThis text is bold\033[0m\n");
    return 0;
}