Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Syntax To Take Input In C

Integer: Input: scanf("%d", &intVariable); Output: printf("%d", intVariable);
Float: Input: scanf("%f", &floatVariable); Output: printf("%f", floatVariable);
Character: Input: scanf("%c", &charVariable); Output: printf("%c", charVariable);
 
PREVIOUS NEXT
Tagged: #Syntax #To #Take #Input #In #C
ADD COMMENT
Topic
Name
5+1 =