• 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

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

Connect n ropes with minimum cost

Best Java Book | Top Java Programming Book for Beginners

Level order traversal in Spiral form

Common Ancestor in a Binary Tree or Binary Search Tree

In Given LinkedList Divide LL in N Sub parts and delete first K nodes of each part

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Python Array String

Word Break Problem

Handle duplicates in Binary Search Tree

Generate largest number arranging a no. of given non negative integer numbers

Singly linked list

Hackerearth : Counting Subarrays

25 horses 5 tracks Find 3 fastest puzzle

Stock Buy Sell to Maximize Profit

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

Add Sub Multiply very large number stored as string

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

ADOBE Aptitude C Language Test

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

Knight Tour Problem (Graph – Breadth First Search)

Generate next palindrome number

Find Percentage of Words matching in Two Strings

strtok()

Print all nodes that are at distance k from a leaf node

Max Sum in circularly situated Values

Microsoft BING Interview Experience

Apriori algorithm C Code Data Mining

Walmart Labs Interview Experience

Amazon Interview On-Campus For Internship – 1

Copyright © 2026 · Genesis Framework · WordPress · Log in