Program No : 2 :

Write a program in C to read and print an given character & an given integer ?

 program no  : 2 
purpose : read and print the given character,integer.

#include <"stdio.h">

void main()

{
	char a;
	int i;
	scanf("%c", &a);
	printf("%c", a);
	scanf("%d", &i);
	printf("%d", i);

}  
Back