• 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

Apriori algorithm C Code Data Mining

Find if two rectangles overlap

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

How strtok() Works

DFS (Depth First Search)

TicTacToe Game As Asked in Flipkart

Sort an array according to the order defined by another array

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

Common Ancestor in a Binary Tree or Binary Search Tree

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

Naurki.com Security Breach

ADOBE Aptitude C Language Test

Best Java Book | Top Java Programming Book for Beginners

Client Server C program

Hackerearth : Counting Subarrays

Skiing on Mountains Matrix

Leetcode: Edit Distance

Find position of the only set bit

Generic Object Oriented Stack with Template

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

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

Maximum size of square sub matrix with all 1’s in a binary matrix

Find min element in Sorted Rotated Array (Without Duplicates)

Amazon Interview Experience – SDE Chennai

Find two non repeating elements in an array of repeating elements

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

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

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Print vertical sum of all the axis in the given binary tree

Count Possible Decodings of a given Digit Sequence

Copyright © 2025 · Genesis Framework · WordPress · Log in