NOTES
NOTES
NOTES
NOTES
NOTES
NOTES
NOTES
NOTES
NOTES Single character function getchar() which reads a character from the keyboard following statement reads a character using getchar () and stores it in variable ch. Ch= getchar() getchar () waits for the character input a until a character is typed at the keyboard. Putchar() putchar() displays the given character on the screen at the current cursor position . following statement displays character (‘b’) on the screen. Put (‘b’)
toupper() = convert lowercase character to uppercase. tolower() = convert uppercase character to lowercase. isupper() = To check either the string is in uppercase or not. islower() = To check either the string is in lowercase or not. •toupper(),tolower(),isupper(),islower() have defined within <ctype.h> NOTES

C programming string

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
    NOTES Single characterfunction getchar() which reads a character from the keyboard following statement reads a character using getchar () and stores it in variable ch. Ch= getchar() getchar () waits for the character input a until a character is typed at the keyboard. Putchar() putchar() displays the given character on the screen at the current cursor position . following statement displays character (‘b’) on the screen. Put (‘b’)
  • 11.
    toupper() = convertlowercase character to uppercase. tolower() = convert uppercase character to lowercase. isupper() = To check either the string is in uppercase or not. islower() = To check either the string is in lowercase or not. •toupper(),tolower(),isupper(),islower() have defined within <ctype.h> NOTES