Search
 
SCRIPT & CODE EXAMPLE
 

C

read from stdin c

#include <stdio.h>
int main( ) {

   char str[100];
   int i;

   printf( "Enter a value :");
   scanf("%s %d", str, &i);

   printf( "
You entered: %s %d ", str, i);

   return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: multiplication table in c 
C :: initializa 2d array c 
C :: array size in c 
C :: try and catch in rust 
C :: fgets remove newline 
C :: Bitwise Operators in C/C++ 
C :: ** in c 
C :: c check first character of string 
C :: 2 dimensional array in c 
C :: server client tcp in C 
C :: how to take blank space in c scanf 
C :: enregistrement en c 
C :: printf("%3d ",XX); 
C :: millis() 
C :: C program for float division of numbers 
C :: c print characters 
C :: signed and unsigned in c 
C :: sizeof file c 
C :: getline() in c 
C :: 1000000000 
C :: open a file in from terminal 
C :: size of int in c 
C :: typedef c 
C :: C Syntax of return statement 
C :: c to c convertor 
C :: Minimum Distance between words[AMAZON] 
C :: convert calendar time to epoch in c programming 
C :: can we update values of a map via traversing 
C :: arcolinux 
C :: transform yt video into background overlay 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =