• 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

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 ?

Adobe Interview Questions 8 month Exp

Maximum path sum between two leaves

LeetCode: Binary Tree Maximum Path Sum

Naurki.com Security Breach

Password Predictor

Sort Stack in place

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

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

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

Calculate price of parking from parking start end time prices

HackeEarth Flipkart’s Drone

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

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

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

Daughter’s Age VeryGood Puzzle

Generic Object Oriented Stack with Template

Closed Parentheses checker

Convert number to words java

K’th Largest Element in BST when modification to BST is not allowed

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

Level order traversal in Spiral form

Puzzle : 100 doors in a row Visit and Toggle the door. What state the door will be after nth pass ?

Best Java Book | Top Java Programming Book for Beginners

CodeChef Code SGARDEN

Find loop in Singly linked list

The greedy coins game Dynamic Programming

Urban Ladder Written Test.

Length of the longest substring without repeating characters

Leetcode: Merge Intervals

Copyright © 2025 · Genesis Framework · WordPress · Log in