• 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

flattens 2 D linked list to a single sorted link list

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

Walmart Labs Interview Experience

1014 Practice Question of New GRE – Princeton

Minimum insertions to form a palindrome

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

Password Predictor

Spanning Tree

BlueStone E-commerce Interview Experience

SAP Interview Questions

Print Power Set of a Set

SAP Off Campus Hiring_ March 2015 Verbal Skills

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

Doubly linked list

Regular Expression Matching

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

Check Binary Tree is Binary Search Tree or not

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

simple sql injection

Find min element in Sorted Rotated Array (Without Duplicates)

Find if a binary tree is height balanced ?

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

Binary Tree in Java

Level order traversal in Spiral form

Find next greater number with same set of digits

Python Array String

Printing intermediate Integers between one element & next element of array

Linked List V/S Binary Search Tree

Circular Linked List

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

Copyright © 2026 · Genesis Framework · WordPress · Log in