• 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

SAP Off Campus Hiring_ March 2015 Verbal Skills

Regular Expression Matching

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

Naurki.com Security Breach

Max Sum in circularly situated Values

Printing intermediate Integers between one element & next element of array

Edit Distance ( Dynamic Programming )

TicTacToe Game As Asked in Flipkart

The Magic HackerEarth Nirvana solutions Hiring Challenge

Leetcode: Edit Distance

SAP Off Campus Hiring_ March 2015 Computer Skills

Handle duplicates in Binary Search Tree

Client Server C program

Connect n ropes with minimum cost

Count Possible Decodings of a given Digit Sequence

Hackerearth : Counting Subarrays

Binary Tree Isomorphic to each other

Python String and numbers

Test Cases for Round Function

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Implement a generic binary search algorithm for Integer Double String etc

Search element in a matrix with all rows and columns in sorted order

Count number of ways to reach a given score in a game

DFS (Depth First Search)

Reverse a Linked List in groups of given size

Cisco Hiring Event 21st – 22nd Feb 2015

Add Sub Multiply very large number stored as string

Facebook Interview Question : Interleave List

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

LeetCode : Word Search

Copyright © 2025 · Genesis Framework · WordPress · Log in