• 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 and print longest consecutive number sequence in a given sequence in O(n)

Walmart Labs Interview Experience

SAP Hiring Off-Campus General Aptitude

Printing each word reverse in string

Reverse a Linked List in groups of given size

Connect n ropes with minimum cost

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

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

Find min element in Sorted Rotated Array (With Duplicates)

Naurki.com Security Breach

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

Maximum difference between two elements s.t larger element appears after the smaller number

Find Percentage of Words matching in Two Strings

Hackerearth : Counting Subarrays

Stickler thief

Amazon Interview Experience – SDE Chennai

System Design: Designing a LLD for Hotel Booking

Singly linked list

Introduction To Number Theory ( Part 1 )

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

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

Microsoft BING Interview Experience

Sequence Finder Dynamic Programming

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

Leetcode: Merge Intervals

Find min element in Sorted Rotated Array (Without Duplicates)

Python String and numbers

Difference between a LinkedList and a Binary Search Tree BST

Top 10 Interviews Techniqes for Campus Interview in IIT NIT BITS for MTech

TicTacToe Game As Asked in Flipkart

Copyright © 2026 · Genesis Framework · WordPress · Log in