Sunday, 7 January 2018

Learn C language Part 30 Gets and Puts String Method in C





#include <stdio.h>

#include <conio.h>



main()

{



char name[50];

printf("Enter your Name: ");

gets(name); //read string...



printf("Your Name is : ");

puts(name); //print .....



}

No comments:

Post a Comment

Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC

Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...