GeekInterview.com
Answered Questions

The questions are as follows: 1. Write a 'c' program to read the age of 100 persons and count the number of persons in the age group 50 to 60.Use for loop and continue statements.(10 marks)2. Write a program...

Asked By: Arka chakraborty | Asked On: Feb 8th, 2006

Answered by: Sukumar Paul on: Aug 1st, 2010

Answer to Question 4.Here I am giving the full program which should run without any warning and error in Turbo C++ 3.0<-------------------------------------------------------------------------...

Answered by: econos on: May 7th, 2008

#include <stdio.h>#include <math.h>#include <stdlib.h>int main(void){    int x,y,ref;    int numbits=0;    printf("Input the desired...

Main(){ int I =10, j = 20; clrscr(); printf("%d, %d, ", j-- , --i); printf("%d, %d ", j++ , ++i);}

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

A) 20, 9, 19, 10b) 20, 9, 20, 10c) 20, 10, 20, 10d) 19, 9, 20, 10

Answered by: abhimanipal on: Jan 28th, 2010

The O/P in this question is not compiler dependant. The language specification of C clearly states that the arguments to the function are supposed to be passed from right to left. So irrespective of the compiler there should be only 1 answer

20, 9, 19, 10

Answered by: sittoop on: Feb 25th, 2009

This is supposed to be same in both C and C++.  According to ISO ANSII standard the answer to this is "undefined". 

A _______ is a data structure that organizes data similar to a line in the supermarket, where the first one in line is the first one out.

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: queues using linked listsa) queue linked listb) stacks linked listc) both of themd) neither of themexplanation: a queue linked list is a data structure that organizes data similar to a line in the supermarket, where the first one in line is the first one out.

Answered by: Amish Kumar Aman on: Jun 5th, 2006

A:) be the Ans.

Answered by: sri harsha on: Apr 17th, 2006

Ans is A.

Astack is a data structure that organizes data similar to how you organize dishes in a stack on your kitchen counter.

Asked By: Interview Candidate | Asked On: Dec 10th, 2005

Skill/topic: stacks using linked lista) trueb) false

Answered by: Venkateswara Rao on: Sep 5th, 2006

True: Stack follows Last In First Out

Answered by: sri harsha on: Apr 17th, 2006

Its TRUE.It follows FIRST IN LAST OUT.

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: