Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Homework HelpRSS Feeds

Sample program to print a string

Posted By: Aimee Williams     Category: C Programming     Views: 2997

Write a sample program to print a string

Code for Sample program to print a string in C Programming

#include<conio.h>
#include<stdio.h>
void main()
{
    clrscr();
    printf("\n           Hello World       ");
    
    getch();
}
/********************* Output *************************/
Hello World /******************************************************/
  
Share: 


Didn't find what you were looking for? Find more on Sample program to print a string Or get search suggestion and latest updates.

Aimee Williams
Aimee Williams author of Sample program to print a string is from Stockton, United States.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!