Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to use pointer in c to print char

#include <stdio.h>

    int main(void) {
        char *p = "abc";
        printf("%c",*p);
        return 0;
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pointer #print #char
ADD COMMENT
Topic
Name
2+8 =