Take a char variable and assign octal value (073). When this char variable is printed using %c format , it prints semicolon .
Sample program:
#include <stdio.h> int main() { char ch = 073; /* Value in octal */ printf("%c", ch); return 0; }
I want to write some C code where I want to print a string say "Hello World" but don't want to use semicolun(;), how can I achieve that.
Please help me to print all permutations of a string in C?