Answers for "char * in c"

C
6

int to char in c

c = i +'0';
Posted by: Guest on October-20-2020
1

how to make a character in c

ch = 66;
Posted by: Guest on January-06-2020
0

accessing the elements of a char* in c

#include <stdio.h>

int main()
{
    char *p="abcd";
    printf("%c\n", p[0]);
    printf("%c\n", p[1]);
    printf("%c\n", p[2]);
    printf("%c\n", p[3]);
    return 0;
}
Posted by: Guest on November-08-2020
0

how to make a character in c

char ch;
char key, flag;.
Posted by: Guest on January-06-2020

Code answers related to "C"

Browse Popular Code Answers by Language