Skip to content
All Basic Articles
Assume int is 4 bytes, char is 1 byte and float is 4 bytes. Also, assume that pointer size is 4 bytes (i.e. typical case)… Read More
Given a distance ‘dist, count total number of ways to cover the distance with 1, 2 and 3 steps.  Examples:  Input: n = 3 Output:… Read More
Suppose that in a C program snippet, followings statements are used. i) sizeof(int); ii) sizeof(int*); iii) sizeof(int**); Assuming size of pointer is 4 bytes and… Read More
Many folks get confused between these two terms which are associated with the Web. Are they really same? First thing first. HTML is a Language… Read More
These are two important header files used in C programming. While “<stdio.h>” is header file for Standard Input Output, “<stdlib.h>” is header file for Standard… Read More
WRITTEN TEST: Consists of questions on: A) General computer Science:- os, networking,library functions in c/c++ etc. B) Data structures and Algorithms(Highest wattage) C) Sq l… Read More
Day 1: Technical MCQ questions (90 mins) Round 1 consists of three sections- general question- contains questions on unix commands, languages etc. programming- questions on… Read More
Many folks consider that both of these as operating systems. Linux OS is for Desktop & Server while Android OS is for Mobiles. Is that… Read More
When an input string (source code or a program in some language) is given to a compiler, the compiler processes it in several phases, starting… Read More
fprintf is used to print content in file instead of stdout console. int fprintf(FILE *fptr, const char *str, ...); Example:  C // C Program for… Read More
Accolite visited our campus for full time Software development. First round: MCQ round consists of 30 questions 30 minutes. Questions on C aptitude, four to… Read More
  Windows 10 can be said to have the feel of both windows 7 and windows 8.1 combined together. The start menu which was missing… Read More
Hi guys, most of us at some instance of time face a problem about how to start something for a minor or major project. Many… Read More
Given a string of odd length, print the string X format.Examples :  Input: 12345 Output: 1 5 2 4 3 2 4 1 5 Input:… Read More
    With the appointment of Sundar Pichai as the Chief Executive Officer(CEO), Google has joined the club of Microsoft, Pepsi, Deutsche Bank, MasterCard, Adobe… Read More
The expression “iOS vs Android” adds fuel to fire, between two groups who put too much of pecuniary as well as emotional investment into their… Read More
Following are not allowed to use 1) Arithmetic and Comparison Operators 2) String functions Recommended: Please try your approach on {IDE} first, before moving on to the… Read More
Amazon interview experience for SDE-1 1st round (1.5 hrs) 1. given a dictionary of words – {“sam”, “samsung”, “sung”…. }. check if a given string… Read More
ROUND 1 It started with my introduction to which I introduced myself followed by I started mentioning about the projects I did. I mentioned my… Read More
Consider below two C language functions to compute sum of elements in a 2D array. Ignoring the compiler optimizations, which of the two is better… Read More