/*please try to this pg in gcc*/

#include<stdio.h>
main()
{
char a,b;
printf("enter the char for a");
scanf("%c",&a);
printf("entered value of a is = %c",a);

printf("enter the char for b");
scanf("%c",&b);
printf("entered value of a is = %c",b);
}

And? Do you have a question or are you just posting trivial yet sloppy code to waste everyone's time? I see a disturbing trend in your posts. Maybe you should acquire a compiler and run these programs yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.