Search
 
SCRIPT & CODE EXAMPLE
 

C

string input in c

#include <stdio.h>

int main () {
   char str1[90], str2[90];

   printf("Enter name: 
");
   scanf("%s", &str1);

   printf("Enter your website name: 
");
   scanf("%s", &str2);
Comment

string input c

scanf("%[^
]s", &name);//Take input while '
' not occur
Comment

input string value in c

#include <stdio.h>
int main()
{
   char str[20];
   scanf("%[^
]%*c", str);
   printf("%s", str);
 
   return 0;
}
Comment

getting string input in c

#include<stdio.h>
#include<conio.h>
void main(){
chat sam[10];
clrscr();
printf("ENTER STRING NAME :");
gets(s);
printf("STRING :%s",s);
getch();
}
Comment

PREVIOUS NEXT
Code Example
C :: i765 OPT filing fees october 2 
C :: Dividing canvas in live2d 
C :: c programming trinary if 
C :: c printf float value 
C :: nosql injection 
C :: c program structure 
C :: helloworld c 
C :: time now C 
C :: website how to solve c programming questions 
C :: CODE SOURCE POUR LISTE DOUBLEMENT CHAINEé en c 
Dart :: how to diable flutter for web 
Dart :: future delayed flutter 
Dart :: flutter get current date 
Dart :: Waiting for another flutter command to release the startup lock... 
Dart :: flutter text hint 
Dart :: dart log to console 
Dart :: waiting for another flutter command to release the startup lock 
Dart :: How to create a small circular dot in FLutter code example 
Dart :: get random color in flutter 
Dart :: flutter on build complete 
Dart :: flutter string contains 
Dart :: dart list map index 
Dart :: flutter multipline textfield height 
Dart :: how to load gif in flutter 
Dart :: dartlang group array by key 
Dart :: Dart set list spread operator 
Dart :: int to string dart 
Dart :: hellow world in dart 
Dart :: datetimeoffset flutter 
Dart :: how to convert string into date format 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =