include stdafx include stdio include stdlib include conio int main cha

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main()
{
char *str;
str=(char*)malloc(50);
scanf("%s",str);
//*(str)=*(str)-64;
fflush(stdin);
puts(str);
printf("'%c' = '%d'",*(str),*(str));
getch();
return 0;
}