Friday, February 13, 2015

C program which reads your name from the keyboard and outputs a list of ASCII codes which represent your name

C program which reads your name from the keyboard and outputs a list of ASCII codes which represent your name

#include<stdio.h>
#include<conio.h>

void main()
{
int i;
char name[50];
clrscr();
printf("Enter your name: ");
gets(name);
printf("
Character ASCII Code");


for(i=0;name[i]!=

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.