3. WAP to take data from user.
#include<stdio.h>
void main()
{
char ch;
char ch = 'a';
char ch = 0142;
char ch = 0x64;
printf("Enter the character
:");
scanf("%c",&ch);
printf("Entered character is %c\n
",ch);
}
Comments
Post a Comment