Scanf Function in C Programming Language Video Tutorial
YOUR LINK HERE:
http://youtube.com/watch?v=Ws-mVAJDFAw
C how to accept user input scanf fgets tutorial example explained • #C #user #input • char name[25]; //bytes • int age; • printf( \ • What's your name? ); • //scanf( %s , name); • fgets(name, 25, stdin); • name[strlen(name)-1] = '\\0'; • printf( How old are you? ); • scanf( %d , age); • printf( \ • Hello %s, how are you? , name); • printf( \ • You are %d years old , age);
#############################
