• 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

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

Generic Object Oriented Stack with Template

Find loop in Singly linked list

Python Array String

Connect n ropes with minimum cost

Maximum sum contiguous subarray of an Array

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

simple sql injection

Best Java Book | Top Java Programming Book for Beginners

Serialise Deserialise N-ary Tree

Convert number to words java

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

Flipkart Set 1 On Campus with Answers

Common Ancestor in a Binary Tree or Binary Search Tree

Client Server C program

Get Minimum element in O(1) from input numbers or Stack

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

Linked List V/S Binary Search Tree

LeetCode: Container With Most Water

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

Python String and numbers

SAP Interview Questions

Max Sum in circularly situated Values

Password Predictor

VMWare Openings

Templates in C++

Longest Increasing Subsequence

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

LeetCode : Word Search

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

Copyright © 2026 · Genesis Framework · WordPress · Log in