Computer Program Technology
Thursday, 6 September 2012
/* ------- Program on Character & String Handling ------- */
#include <stdio.h>
#include <conio.h>
main()
{
/* Declaration and Initialization of a String */
char day[10] = "Friday";
clrscr();
gotoxy(15,2);
printf("Program to print a String\n");
/* day = "Friday";*/
gotoxy(5,5);
printf("%s",day);
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment