Here, we will print all punctuation marks are available in C language without using any library function.
Program:
The source code to print all punctuation marks without using the library function is given below. The given program is compiled and executed using GCC compile on UBUNTU 18.04 OS successfully.
Here, we created two functions isPunctuation() and main(). The isPunctuation() function is used to check the given character is a punctuation mark or not.
In the main() function, we printed all punctuation marks available in C language without using the library function.
Here, we will print all punctuation marks are available in C language without using any library function.
Program:
The source code to print all punctuation marks without using the library function is given below. The given program is compiled and executed using GCC compile on UBUNTU 18.04 OS successfully.
Output:
Explanation:
Here, we created two functions isPunctuation() and main(). The isPunctuation() function is used to check the given character is a punctuation mark or not.
In the main() function, we printed all punctuation marks available in C language without using the library function.
need an explanation for this answer? contact us directly to get an explanation for this answer