Answers for "how to do scanf on char in c"

C
3

how make a character in c scanf

scanf(" %c", &c);
Posted by: Guest on July-08-2020
3

how to scanf in c

#include <stdio.h>
int main()
{
    int testInteger;
    printf("Enter an integer: ");
    scanf("%d", &testInteger);  
    printf("Number = %d",testInteger);
    return 0;
}
Posted by: Guest on April-14-2020

Code answers related to "C"

Browse Popular Code Answers by Language