Output char array, string value with puts() function - C String

C examples for String:Display

Description

Output char array, string value with puts() function

Demo Code

#include <stdio.h>

int main(void){
    char string[] = "this is a test!";
    puts(string);/*from   w  w  w. j  ava  2 s  . c  om*/
    return 0;
}

Result


Related Tutorials