User Input

User input using pointers.

Get user input in C.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 11:36 PM

#include <stdio.h>

void printMe(charprinted)
        int i 0;
        while (printed[i])


int main()
        char firstName[20];
        printf("Insert Your First Name:\n");

        printf("Your fist name is: ");

        return 0;

Download: user_input.c 399 B

Please login or Click Here to register for downloads
Creative Commons License
User Input by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at
Permissions beyond the scope of this license may be available at