• 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

Count Possible Decodings of a given Digit Sequence

Hackerearth : Counting Subarrays

Leetcode: Edit Distance

SAP Interview Questions

Spanning Tree

VMWare Openings

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

Microsoft BING Interview Experience

Maximum size of square sub matrix with all 1’s in a binary matrix

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

Templates in C++

Reverse a Linked List in groups of given size

Best Java Book | Top Java Programming Book for Beginners

C++ OOPs Part2

25 horses 5 tracks Find 3 fastest puzzle

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

Minimum insertions to form a palindrome

ADOBE Aptitude C Language Test

BFS (Breath First Search)

Find if two rectangles overlap

Given a string, find the first character which is non-repetitive

Naurki.com Security Breach

Flipkart SDET Interview Experience

Reliance Jio Software Developer Interview Experience

Mirror of Tree

SAP Off Campus Hiring_ March 2015 Computer Skills

Given Set of words or A String find whether chain is possible from these words or not

System Design: Designing a LLD for Hotel Booking

Edit Distance ( Dynamic Programming )

Find and print longest consecutive number sequence in a given sequence in O(n)

Copyright © 2026 · Genesis Framework · WordPress · Log in