• 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

LeetCode: Container With Most Water

Subset Sum Problem Dynamic programming

Puzzle : 100 doors in a row Visit and Toggle the door. What state the door will be after nth pass ?

Generic Object Oriented Stack with Template

Check Binary Tree is Binary Search Tree or not

25 horses 5 tracks Find 3 fastest puzzle

Adobe Interview Questions 8 month Exp

Naurki.com Security Breach

Maximum of all subarrays of size k

Word Break Problem

Coin Collection Dynamic Programming

Handle duplicates in Binary Search Tree

How Radix sort works

Possible sizes of bus to carry n groups of friends

Find min element in Sorted Rotated Array (With Duplicates)

Maximum sum contiguous subarray of an Array

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Convert number to words java

Right view of Binary tree

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Given Set of words or A String find whether chain is possible from these words or not

Code Chef PRGIFT Solution

SAP Interview Questions

VMWare Openings

Binary Tree in Java

Get K Max and Delete K Max in stream of incoming integers

Maximum size of square sub matrix with all 1’s in a binary matrix

Introduction To Number Theory ( Part 1 )

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

Copyright © 2026 · Genesis Framework · WordPress · Log in