Search
 
SCRIPT & CODE EXAMPLE
 

C

how to use pointer in c to print char

#include <stdio.h>

    int main(void) {
        char *p = "abc";
        printf("%c",*p);
        return 0;
    }
Comment

PREVIOUS NEXT
Code Example
C :: how to login to another user in powershell 
C :: check prime number or not c 
C :: stdio.h in c 
C :: how to checkout branch from commit id 
C :: right side of div 
C :: string input c 
C :: insertion sort c 
C :: Array Input/Output in C 
C :: multiplication table in c using array 
C :: c for loop 
C :: text berjalan html 
C :: c convert char to int 
C :: count distinct characters in a string C 
C :: isspace 
C :: grepper vscodium 
C :: fwrite in c 
C :: c program to find the frequency of characters in a string 
C :: unable to locate package dos2unix 
C :: printf("%3d ",XX); 
C :: continue statement in c 
C :: stdio.h 
C :: Initialization of a 3d array in c 
C :: c memcpy array 
C :: Write a C program to multiply two integers using pointers. 
C :: nested while loop in c 
C :: logical operators in c 
C :: *= in c 
C :: columntransformer in randomizedsearchcv 
C :: String to Integer (atoi) 
C :: check if a number is even and bigger than or equal to 16 using bitwise 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =