Write a program to print your name, date of birth, mobile number and location using "printf" function.
Source Code :
#include <stdio.h>
main()
{
printf("Name : Devendra Singh\n");
printf("DOB : July 18, 1990\n");
printf("Mobile : +91-9999999999\n");
printf("Location : India\n");
getchar();
}
Output :
Name : Devendra Singh
DOB : July 18, 1990
Mobile : +91-9999999999
Location : India
Click Here to download sample file.
Labels: C, C Exercises, C Programming
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home