Program
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
char ch;
clrscr(); //to clear the screen
printf(“Enter any character:”);
scanf(“%c”,&ch);
a=ch;
printf(“ASCII value of %c is %d”,ch,a);
getch(); //to stop the screen
}
Output
Program
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
char ch;
clrscr(); //to clear the screen
printf(“Enter any character:”);
scanf(“%c”,&ch);
a=ch;
printf(“ASCII value of %c is %d”,ch,a);
getch(); //to stop the screen
}
Output
DEFAULT requirement is utilized to embed default value into a segment on a table and on the off chance that no any value is put away in wherever of a section, at that point default value will be...
In this article, we will figure out how to utilize CHECK requirement in SQL?Fundamentally, CHECK requirement is utilized to LIMIT in segments for the scope of values. We can utilize this...