• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Unix

C Program for TAIL command of UNIX

April 27, 2015 by Dhaval Dave

/*
* usage: myTail [-n] [<filename>] */

#include <stdio.h>
#include <stdlib.h>

#define MAX_LINE_LEN 1024
#define DEFAULT_N 10

int main(int argc, char *argv[]) {
char **tail;
int count = DEFAULT_N, n, i, headX = 0, tailX 
… Read More

Filed Under: Adobe Interview Questions, Interview Questions, problem Tagged With: c, Unix

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

Flipkart Set 1 On Campus with Answers

Linked List V/S Binary Search Tree

Interfaces in C++ (Abstract Classes in C++)

Generic Object Oriented Stack with Template

1014 Practice Question of New GRE – Princeton

Add Sub Multiply very large number stored as string

Serialise Deserialise N-ary Tree

How strtok() Works

Circular Linked List

Practo Hiring Experience

Given a string, find the first character which is non-repetitive

ADOBE Aptitude C Language Test

Check Binary Tree is Binary Search Tree or not

Get Minimum element in O(1) from input numbers or Stack

K’th Largest Element in BST when modification to BST is not allowed

SAP Hiring Off-Campus General Aptitude

Amazon Interview Experience – SDE Chennai

Subset Sum Problem Dynamic programming

Code Chef PRGIFT Solution

SAP Off Campus Hiring_ March 2015 Computer Skills

Trapping Rain Water

Spanning Tree

Word Break Problem

Find the smallest window in a string containing all characters of another string

Python String and numbers

Number of Islands BFS/DFS

CodeChef Code SGARDEN

Common Ancestor in a Binary Tree or Binary Search Tree

Flipkart SDET Interview Experience

Connect n ropes with minimum cost

Copyright © 2026 · Genesis Framework · WordPress · Log in