• 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

Skiing on Mountains Matrix

VMWare Openings

Find if a binary tree is height balanced ?

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

Memory Efficient LinkedList

Find Pythagorean Triplets in an array in O(N)

SAP Off Campus Hiring_ March 2015 Computer Skills

Reverse a Linked List in groups of given size

Given a float number convert it into the string WITHOUT using any inbuilt Function

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

Print Power Set of a Set

Stock Buy Sell to Maximize Profit

TicTacToe Game As Asked in Flipkart

Count Possible Decodings of a given Digit Sequence

Right view of Binary tree

Generic Object Oriented Stack with Template

flattens 2 D linked list to a single sorted link list

C++ OOPs Part1

C++ OOPs Part2

Generate next palindrome number

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 ?

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

Walmart Labs Interview Experience

LeetCode: Binary Tree Maximum Path Sum

1014 Practice Question of New GRE – Princeton

Find shortest distances between every pair of vertices ( Dynamic Programming Floyd Warshall Algorithm)

BlueStone E-commerce Interview Experience

Sequence Finder Dynamic Programming

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

Maximum sum contiguous subarray of an Array

Copyright © 2026 · Genesis Framework · WordPress · Log in