• 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

Introduction To Number Theory ( Part 1 )

Stock Buy Sell to Maximize Profit

Check if an array has duplicate numbers in O(n) time and O(1) space

Sequence Finder Dynamic Programming

Number of Islands BFS/DFS

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

Daughter’s Age VeryGood Puzzle

Naurki.com Security Breach

Find the element that appears once others appears thrice

BFS (Breath First Search)

Wrong Directions given find minimum moves so that he can reach to the destination

Doubly linked list

Find loop in Singly linked list

Adobe Interview Questions 8 month Exp

LeetCode: Binary Tree Maximum Path Sum

flattens 2 D linked list to a single sorted link list

Printing each word reverse in string

Count Possible Decodings of a given Digit Sequence

Check a String is SUBSEQUENCE of another String Find Minimum length for that ( DNA Matching )

Find the number ABCD such that when multipled by 4 gives DCBA.

1014 Practice Question of New GRE – Princeton

Find next greater number with same set of digits

Convert number to words java

Handle duplicates in Binary Search Tree

Skiing on Mountains Matrix

Binary Tree in Java

Difference between a LinkedList and a Binary Search Tree BST

Reliance Jio Software Developer Interview Experience

How strtok() Works

Sort Stack in place

Copyright © 2025 · Genesis Framework · WordPress · Log in