• 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

ADOBE Aptitude C Language Test

The greedy coins game Dynamic Programming

Advanced SQL Injection

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

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

DFS (Depth First Search)

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

Python List

25 horses 5 tracks Find 3 fastest puzzle

Find next greater number with same set of digits

Singly linked list

Print Power Set of a Set

TicTacToe Game As Asked in Flipkart

SAP Off Campus Hiring_ March 2015 Computer Skills

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

SAP Interview Questions

Amazon Interview Experience – SDE Chennai

flattens 2 D linked list to a single sorted link list

Longest Increasing Subsequence

How Radix sort works

Check Binary Tree is Binary Search Tree or not

Templates in C++

Find the number ABCD such that when multipled by 4 gives DCBA.

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

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

Search element in a matrix with all rows and columns in sorted order

Reverse a Linked List in groups of given size

Trapping Rain Water

Calculate price of parking from parking start end time prices

Microsoft BING Interview Experience

Copyright © 2026 · Genesis Framework · WordPress · Log in