//Print Using String Function
#include <stdio.h>
#include <conio.h>
void main()
{
char s[] = "C Programming 4 U";//Here s is declared as character array
clrscr();
printf("\t\n\n%s", s);//%s is used to print string i.e. char array
getch();
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.