GeekInterview.com
Series: Subject: Topic:

Object-Orientation Concepts Interview Questions

 
Sub Categories (+ View)
Subject Name
Questions
Answers
Last updated
15
22
Apr
30th,
2012
85
381
Apr
6th,
2013
25
40
Apr
28th,
2013
Showing Questions 1 - 20 of 31 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Write a C program to reverse the string without using strrev() function?

Asked By: vigneshwaran | Asked On: Jan 18th, 2006

Answered by: Ankur Verma on: May 18th, 2013

Code
  1.  
  2. #include <stdio.h>
  3. #include <string.h>  
  4. void main()
  5. {  
  6. int len=0,i=0;  
  7. char s[16]="virendra";      
  8. while (*(s+len) !=)
  9. {    
  10. len++;
  11. }  
  12. printf("%d",len);      
  13. for (i=0;i<=(len)/2;
  14. i++)
  15. {      
  16. printf("  i:
  17. %d len:%d and s[i]:
  18. %c s[len-1]:%c",i,len-1,s[i],s[len-1]);           s[i]+=s[len-1];    
  19. s[len-1]=s[i]-s[len-1];    
  20. s[i]-=s[len-1];            
  21. len--;  
  22. }  
  23. printf(" ");  
  24. puts(s);
  25. }
  26.  

Answered by: sunny on: Apr 25th, 2013

it is asking for prototype ..???

What is the diff between review and walkthough?

Asked By: suvathi | Asked On: Feb 1st, 2013

1.What is the dif between review and walkthrough? on testing perspective ,who will do review and walkthrough?Clarify with an real example? 2.What is meant by inspection and who will lead the inspection and roles involved in inspection?

Answered by: anji on: Apr 25th, 2013

Review if more formal than walkthrough .Walkthrough is done with a purpose of gain understanding of system and learning.

Answered by: BA_Apprentise on: Apr 18th, 2013

In laymans term walk-through is nothing but running thru the requirements while review is making an analysis of the progress and if the case may be a change has to be recommended

Load controller connection to load generator

Asked By: sharmasantoshk | Asked On: Nov 7th, 2012

In loadrunner, controller is installed on one machine and load generator is installed on another machine, how load controller is connected to load generator?

What is the part of compiler that keeps track of names and their attributes?

Asked By: xyz10 | Asked On: Oct 1st, 2012

A) compile table b) symbol table c) table d) logical table

Answered by: Munna on: Oct 25th, 2012

symbol table

Define raster and vector data.

Asked By: niamat Faizi | Asked On: Aug 28th, 2011

Define raster and vector data. Explain what is the difference between raster and vector data?

Answered by: Sandhya.Kishan on: Jul 4th, 2012

Raster data is a set of horizontal lines composed of individual pixels, used to form an image on a CRT or other screen.Raster data makes use of matrix of square areas to define where features are loca...

Basic elements of a picture in volume graphics

Asked By: Rujul | Asked On: Mar 18th, 2007

The basic elements of a picture in volume graphics is 1. Pixel 2. Volsel 3. Voxel 4. EIther pixel or voxel

Answered by: Sandhya.Kishan on: Jul 4th, 2012

The basic elements of a picture in volume graphics is voxel.

Answered by: sanjayit on: Dec 31st, 2008

pixel

What are application clusters in crm?

Asked By: sumantakshay | Asked On: May 16th, 2007

Answered by: Sandhya.Kishan on: Apr 17th, 2012

CRM application cluster is a software that ranges in size and complexity making it possible for an organization to select the type of software needed the most. It consists of how a customer is relate...

Stacks task

Asked By: mohit23bisht | Asked On: Aug 8th, 2010

What kind of useful task does stacks support?

Answered by: Sandhya.Kishan on: Apr 17th, 2012

Stack supports four major computing areas,they are

1.expression evaluation
2.subroutine return address storage
3.dynamically allocated local variable storage and
4.subroutine parameter passing.

Two-dimensional arrays

Asked By: sony24 | Asked On: Jul 7th, 2009

A two-dimensional array x (7,9) is stored linearly column-wise in a computer's memory. Each element requires 8 bytes for storage of the value. If the first byte address of x (1,1) is 3000, what would be the last byte address of x (2,3)?

Answered by: Sandhya.Kishan on: Apr 17th, 2012

use the formulae

X(i,j)=Base+w[n(i-1)+(j-1)]

where m=7 ,n =9 ,i=2 ,j=3

hence 3000+8*[9(2-1)+(3-1)]

=3000+8*(9+2)

=3000+8*11=3088

Why contructors does not supports visual functions?

Asked By: muzammil | Asked On: Nov 23rd, 2007

Answered by: Sandhya.Kishan on: Apr 17th, 2012

Constructor does not support virtual functions because we need an object to invoke a virtual method in the first place and more over constructors are used to initializing objects,which is a static typ...

Race around condition

Asked By: Asnat | Asked On: Jun 4th, 2010

What is race around condition?

Answered by: Sandhya.Kishan on: Apr 17th, 2012

A race around condition is a fault in the process or a system where the output or the result of the process is critically and unexpectedly dependent on the timing of other events.
Race condition especially occurs in multithreaded or in distributed systems.

Static storage class

Asked By: shyamkumar1221 | Asked On: Nov 12th, 2010

Give one real time application where static variables are used.

Answered by: clickankit4u on: Aug 3rd, 2011

Thinks of a situation where you need to do some work just once in a function irrespective of how many times that function is invoked then u can have a static variable which will keep a track of it. eg...

Reference variable

Asked By: pradeep tamang | Asked On: Mar 21st, 2010

What is the reference variable? How can we use in program writing. How does it execute?

What is the main difference between portability and platform independent ?

Asked By: deepa | Asked On: May 22nd, 2006

Star Read Best Answer

Editorial / Best Answer

Answered by: Lecks

View all answers by Lecks

Member Since Feb-2010 | Answered On : Feb 21st, 2010

I agree it is correct to say that Java is platform independent, but it is due to the Java Virtual Machine. Java programs are only intermediately compiled, which allows adaptation to the given environment it needs to run in later.

An example of a portability issue is the creation of Unix. The first version was not portable. It was specific only to that computer's architecture. Unix became portable when it was rewritten in C. The new version written in C was portable because C served as a "translator", if you will, between what underlying architecture or devices were physically in the computer and what unix wanted them to do.

Answered by: Lecks on: Feb 21st, 2010

I agree it is correct to say that Java is platform independent, but it is due to the Java Virtual Machine. Java programs are only intermediately compiled, which allows adaptation to the give...

Answered by: akki21 on: Feb 21st, 2007

"portability" refers to the ability of a system to support a particular software.it depends on the system configurations.

"platform independent"
JAVA is a platform independent software. it need not be installed for the processing of its program

C7 signaling

Asked By: dadikari | Asked On: May 11th, 2008

State the functions of each layer in c7 signaling system?

Ordered sequence of 4 unique alphabets

Asked By: munmu | Asked On: Mar 28th, 2008

Generate an ordered sequence of 4 unique alphabets, where an ordered sequence is one which is arranged in ascending alphabetic order.Eg. Ordered : abcd, bchu, krxzunordered : dcba, bnma

Soa implementation

Asked By: maddali1982 | Asked On: Feb 22nd, 2008

What is soa?What are the shortcomings of an soa implementation?How can a service bus [e.G. Alsb] impact the performance of a 3 tier soa implementation?

Can we execute any simple program without installing any operating system?

Asked By: Anurag | Asked On: Apr 26th, 2006

I think no,can u suggest?

Answered by: kaaka on: Feb 8th, 2008

Havent u guys heard of Assembly Language??? A microprocessor kit?? They dont have OS... But still we execute programs......

Answered by: jana05 on: Jan 11th, 2008

I think the person just wanted to run a simple program on a std PC, possibly due to curiosity.  Well, if the assumption is ok, then the following answer might be of help. A std PC is made of hard...

Non volatile memory

Asked By: Rujul | Asked On: Mar 18th, 2007

73 the term "non volatile memory" states 1. That memory is retained in the memory unit for some time even after power failure to the memory unit 2. That memory is lost by power failure but regained as soon as power is restored 3. That memory is retained in the memory...

Answered by: jana05 on: Jan 11th, 2008

There seems no question here posed except statements. Could you elaborate what is your question. And these statements also need to be elaborated.

What is actually meant for buffer? How does it work

Asked By: rohit dwivedi9450 | Asked On: Mar 24th, 2007

Answered by: jana05 on: Jan 11th, 2008

Its a temporary location where you can preserve the data. For example when you want to swap 2 nos like x=2 and y=5, so that after swaping you get x=5 and y=2. One method wud be to use a temporary vari...

Answered by: Ankur on: Jul 14th, 2007

Buffer is something that is used to hold the data temporarly.
Ex-
If we are watching any thing online,then buffering of data takes place i.e for sometime data get stored in buffer then processed.

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Data Modeling Interview Questions

Data Structures Interview Questions

OLAP Interview Questions

OOPS Interview Questions

UML Interview Questions

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.