+ 1
Can anyone give a coding of char using printf and scanf using character i.e char
6 Respuestas
+ 4
being in hurry kills the vibe, calm down and enjoy the process
+ 3
Naresh word is a string and not character, continue with the C tutorial you will understand more, to print and take string you use %s
+ 3
what was your input Naresh ???
+ 1
Thank u bro
0
Bro I tried but only the starting word os appearing not full word os appearing So I am asking for code.
0
#include <stdio.h>
#include <conio.h>
void main()
{
char a;
clrscr ();
printf("Type ur Name \n");
scanf("%c",&a);
printf("Ur Name is %c\n",a);
getch ();
}