C program to print characters without using format specifiers Last Updated : 29 Oct, 2017 Comments Improve Suggest changes Like Article Like Report As we know that there are various format specifiers in C like %d, %f, %c etc, to help us print characters or other data types. We normally use these specifiers along with the printf() function to print any variables. But there is also a way to print characters specifically without the use of %c format specifier. This can be obtained by using the below-shown method to get the character value of any ASCII codes of any particular character. Example: C // Prints characters without format specifiers #include <stdio.h> int main() { printf("\x47 \n"); printf("\x45 \n"); printf("\x45 \n"); printf("\x4b \n"); printf("\x53"); return 0; } Output: G E E K S Comment More infoAdvertise with us Next Article C program to print characters without using format specifiers C Chinmoy Lenka Improve Article Tags : Misc C Language c-puzzle Practice Tags : Misc Similar Reads Print a character n times without using loop, recursion or goto in C++ Given a character c and a number n, print the character c, n times. We are not allowed to use loop, recursion, and goto. Examples : Input : n = 10, c = 'a'Output : aaaaaaaaaa Input : n = 6, character = '@'Output : @@@@@@ In C++, there is a way to initialize a string with a value. It can be used to p 2 min read Write a C program to print "Geeks for Geeks" without using a semicolon First of all we have to understand how printf() function works. Prototype of printf() function is: int printf( const char *format , ...) Parameter format: This is a string that contains a text to be written to stdout.Additional arguments: ... (Three dots are called ellipses) which indicates the vari 2 min read How to print a semicolon(;) without using semicolon in C/C++? Another interesting question is how can a semicolon be printed without using any semicolon in the program. Here are methods to print ";" : Using printf / putchar in if statement: CPP // CPP program to print // ; without using ; // using if statement #include <stdio.h> int main() { // ASCII val 1 min read How to input or read a Character, Word and a Sentence from user in C? C is a procedural programming language. It was initially developed by Dennis Ritchie as a system programming language to write an operating system. The main features of the C language include low-level access to memory, a simple set of keywords, and a clean style, these features make C language suit 4 min read unsigned specifier (%u) in C with Examples The format specifier is used during input and output. It is a way to tell the compiler what type of data is in a variable during taking input using scanf() or printing using printf(). Some examples are %c, %d, %f, %u, etc. This article focuses on discussing the format specifier for unsigned int %u. 2 min read Like