Print a String in C Programming - C

How to print a string in C Programming Language?

Snippet Code


  
Rate this page :
  [ 0 votes]

Here, the code explains how to print a string in c programming language.

#include <stdio.h> int main() { char str[40]= "Welcome to hscripts.com"; printf("%s",str); return 0; }

Tags


Ask Questions

Ask Question