Skip to content

Instantly share code, notes, and snippets.

View AnupamKhosla's full-sized avatar
🧐
Highly active

ANUPAM KHOSLA AnupamKhosla

🧐
Highly active
  • Melbourne Victoria
View GitHub Profile
@AnupamKhosla
AnupamKhosla / anupamindex.html
Last active February 23, 2016 11:44
Website Template for sycoscientistrecords.com
<!-- html code-->
<!DOCTYPE html>
<html>
<head>
<title> Syco Scientist Records</title>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="css/anupamstyle.css" />
</head>
<body>
@AnupamKhosla
AnupamKhosla / K&R_1.9.txt
Last active February 23, 2016 13:02
The program for printing the longest line, from a given set of lines.
/* K &R's book, section 1.9. The program for printing the longest line, from a given set of lines, is given as*/
#include <stdio.h>
#define MAXLINE 1000 /* maximum input line length */
int getline(char line[], int maxline);
void copy(char to[], char from[]);
/* print the longest input line */