answersLogoWhite

0

Special character in C language

Updated: 8/11/2023
User Avatar

Wiki User

11y ago

Best Answer

special character in c language are as follows~ ' ! @ # % ^ & * () _ - + = | \ {} [] : ; " <> , . ? /

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Usable. Example:

char str [] = "Example string";

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Special character in C language
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the mean of echoed in c language?

It has nothing to do with C-language, it simply means that when you press a key representing a character, the character appears on the screen.


The special character string that is used to print the diameter sign is?

%%c %%D %%DIA c%%


Why you use ctype.h in c language?

it contains the information used by character classification and character conversion macros


What is the programming language used to program the engineering part of the DCS systems?

C, C++, and some language is special developed by dcs manufacture.


Write a program in c language to implement framing methods like character stuffing?

A program in c language to implement framing methods like character stuffing can be grave sizeCRC-32 and the variable c50.


Where you are using -127 in character data type in c language?

Anywhere I need to.


Why null is used as capital letter in c language?

Null is not a capital letter. It is not any letter. It is a null, '\0', (most often 0x00) and that is a special character, usually indicating the end of a string.


How is the getchar function used in a C program?

The getchar() is used in 'C' programming language because it can read the character from the Standard input(i.e..from the user keyboard),and converts in to the ASCII value.


Write a program to initialize a character and print whether it is uppercase lowercase or special character in java module 1?

I'll just write a function to do that, I hope the good people won't try to run it as it is.... void function() { char c = 'a'; if( c &gt;= 'a' &amp;&amp; c &lt;='z' ) System.out.println("LowerCase"); else if( c&gt;='A' &amp;&amp; c &lt;='Z' ) System.out.println("UpperCase"); else System.out.println("Special Character"); }


How is a character defined in the C language?

The C language does not define any characters; all character representations are system-dependent. The C standard only requires that a system be capable of representing the execution character set (the characters and tokens utilised by the language itself). All characters utilised by C are within the lower 128 ASCII character codes (7-bit encodings) as found in ISO/IEC 8859, Windows-1252 and all other ASCII-compatible code pages.


WAP to initialize a character and print whether it is upper caselower case or special character without using logical operators?

The general solution to this problem is very simple to lay out, but part of it relies on what a "special character" is. The part of code which handles this will be highlighted for the reader to implement as he/she will. void displayType(char c) { if(Character.isUpperCase(c)) { // upper case System.out.println("Upper case"); }else if(Character.isLowerCase(c)) { // lower case System.out.println("Lower case"); } else { // special case // This is where the "special character" part comes in. // You may be defining a "special character" as any non-letter character, // in which case you can simple put the line to print it out in this else // block. A "special character" may also be any non-letter, non-digit // character, and so we would need to check for Character.isDigit at // this point. } }


Is special a character trait?

no. special is not a character trait. you can say that the character is special.