//WAP to display your name.
# include <stdio.h>
int main()
{
printf("Sukhvir Singh");
return 0;
}
//Write another program to print message with inputted name.
# include <stdio.h>
int main()
{
char name[30];
printf("Enter your name : ");
scanf("%s",&name);
printf("Hello %s, Welcome to C Programming",name);
return 0;
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.