Thursday, July 4, 2019

no arguments and no return values in c language


#include<stdio.h>

void dispmenu(void);

void main()
{
    int choice;
    dispmenu();
    printf("Enter your choice :");
    scanf("%d",&choice);
}
void dispmenu (void)
{
    printf (" 1. Create database\n");
    printf("2.Insert new record\n");
    printf("3.Modifya record\n");
    //Functions
    printf("4.Delete a record\n");
    printf("5.Display all records\n");
    printf("6.Exit\n");
}

No comments:

Post a Comment

python class topic video