• 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

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

Doubly linked list

Flipkart Set 1 On Campus with Answers

Sort an array according to the order defined by another array

Regular Expression Matching

Serialise Deserialise N-ary Tree

The Magic HackerEarth Nirvana solutions Hiring Challenge

Print Power Set of a Set

Urban Ladder Written Test.

Reverse a Linked List in groups of given size

System Design: Designing a LLD for Hotel Booking

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

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

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

Printing each word reverse in string

SAP Interview Questions

Advanced SQL Injection

Best Java Book | Top Java Programming Book for Beginners

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

Diagonal Traversal of Binary Tree

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

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

Singly linked list

Practo Hiring Experience

Word Break Problem

CodeChef Code SGARDEN

Trapping Rain Water

Find position of the only set bit

Memory Efficient LinkedList

Find the kth number with prime factors 3, 5 and 7

Copyright © 2026 · Genesis Framework · WordPress · Log in