• 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

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

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

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

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

VMWare SDEII Interview

Code Chef PRGIFT Solution

Difference between a LinkedList and a Binary Search Tree BST

Templates in C++

Connect n ropes with minimum cost

Adobe Interview Questions 8 month Exp

Calculate price of parking from parking start end time prices

LeetCode: Container With Most Water

Check Binary Tree is Binary Search Tree or not

Diagonal Traversal of Binary Tree

Python Dictionaries

SAP Interview Questions

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

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

Sort Stack in place

Trapping Rain Water

Printing each word reverse in string

Mirror of Tree

Client Server C program

SAP Off Campus Hiring_ March 2015 Sample Questions

Handle duplicates in Binary Search Tree

LeetCode : Word Search

Generic Object Oriented Stack with Template

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 ?

Maximum sum contiguous subarray of an Array

Word Break Problem

Copyright © 2025 · Genesis Framework · WordPress · Log in