c++ declare char
// syntax:
// char <variable-name>[] = "<string/char-you-want-to-store>";
// example (to store 'Hello!' in the YourVar variable):
char YourVar[] = "Hello!";
c++ declare char
// syntax:
// char <variable-name>[] = "<string/char-you-want-to-store>";
// example (to store 'Hello!' in the YourVar variable):
char YourVar[] = "Hello!";
c++ char define
// syntax:
// char <variable-name>[] = { '<1st-char>', '<2nd-char>', ... , '<Nth-char>', '\0'};
// example (to store 'Hello' in the YourVar variable):
char YourVar[] = {'H','e','l','l','o','\0'}; // NOTE: the \0 marks the end of the char array
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us