c scanf
scanf("%d",&variable);
/*
% is a format specifier
%d or %i for int
%ld or %li for long int
%f for float
%lf for double
%c for char
%s for string
*/
c scanf
scanf("%d",&variable);
/*
% is a format specifier
%d or %i for int
%ld or %li for long int
%f for float
%lf for double
%c for char
%s for string
*/
scanf c
scanf("%d", &b);
scanf c library
#include <stdio.h>
int main () {
char str1[20], str2[30];
printf("Enter name: ");
scanf("%s", str1);
printf("Enter your website name: ");
scanf("%s", str2);
printf("Entered Name: %s\n", str1);
printf("Entered Website:%s", str2);
return(0);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us