Friday 23 February 2018

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: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home