ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Placement Papers
 
 


 

 
 Software interview questions  Software Interview Questions
 Sciences interview questions  Sciences Interview Questions
 Engineering interview questions  Engineering Interview Questions
 Business Management interview questions  Business Management Interview Questions
 Accounting interview questions  Accounting Interview Questions
 Advertising Media interview questions  Advertising Media Interview Questions
 Architecture Design interview questions  Architecture Design Interview Questions
 Call Centre interview questions  Call Centre Interview Questions
 Fashion Modelling interview questions  Fashion Modelling Interview Questions
 Government interview questions  Government Interview Questions
 Law interview questions  Law Interview Questions
 Tourism Hotel interview questions  Tourism Hotel Interview Questions
 Everything Else interview questions  Everything Else Interview Questions
 Aptitude Questions interview questions  Aptitude Questions Interview Questions
 Placement Papers interview questions  Placement Papers Interview Questions
 Certifications interview questions  Certifications Interview Questions
 Visa Interview Questions interview questions  Visa Interview Questions Interview Questions
 Code Snippets interview questions  Code Snippets Interview Questions
 Entrance Exams interview questions  Entrance Exams Interview Questions
 ERRORS interview questions  ERRORS Interview Questions
Question
ALTER  placement papers  -------  placement paper-1
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: ALTER placement papers ------- placement paper-1
Answer
# 1
ALTER  placement papers  

C questions

1.                   int b=10;
 int *p=&b;
*p++;
 printf("%d",*p);
what is the output? 

2.                   What is the difference between malloc, 
calloc and realloc? 

3.                   What does malloc return in C and C++? 

4.                    main()
{
char *a="hello";
char *b="bye";
char *c="hai";
int x=10,y=100;
c=(x<y>)?a:b;
printf("%s",c);
}
whats the output? 

5.                    void main()
{
  int a,b;
  a=sumdig(123);
 b=sumdig(123);
 printf("%d %d",a,b);
}
int sumdig(int n)
{
  static int sum;
  int d;
 if(n!=0)
{
d=n%10;
n=(n-d)/10;
  sum=sum+d;
  sumdig(n);
}
else
return s;
}
what is the output? 

6.                   Declare a pointer to a function that 
takes a char pointer
as argument and returns a void pointer. 

7.                   How do we open a binary file in 
Read/Write mode in C?

  C++ questions

8.                   class A
{
public:
A()
{
}
~A();
};
class derived:public A
{
derived();
};
what is wrong with this type of declaration? 

9.                   what do you mean by exception 
handling? 

10.               What are "pure virtual" functions? 

11.               What is the difference between member 
functions and
static member functions? 

12.               What is the4 difference between delete[] 
and delete? 

13.               Question on Copy constructor. 

14.               What are namespaces? 

15.               One question on namespace. 

16.               What are pass by valu and pass by 
reference?
what is the disadvantage of pass by value?
I didnt get this. if you have the answer plz tell me. 

17.               How to invoke a C function using a C++ 
program? 

18.               char *str;
char *str1="Hello World";
sscanf(str1,"%s",str);
what is the output? 

19.               Difference between function overloading 
and function overriding. 

20.               There is a base class sub, with a member 
function fnsub(). There are
two classes super1 and super2 which are subclasses of the 
base class sub.
if and pointer object is created of the class sub which 
points to any
of the two classes super1 and super2, if fnsub() is called 
which one
will be inoked? 

ALTER  placement papers  
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 

 
 
 
Other Placement Papers Interview Questions
 
  Question Asked @ Answers
 
CTS paper CTS1
Hcl Placement Paper - May 2006 Chennai HCL2
TCS PAPER - 10 OCT 2006 - CHENNAI TCS1
PHILIPS PLACEMENT PAPERS ________ Placement Paper 2 Philips1
Hexaware placement papers --------- placement paper 1 Hexaware4
Infosys New Pattern Written Test Placement Paper ----- Dec 17 2006 Infosys2
Chandighar Satyam Written Test Mar /17 /2007 Satyam1
SONY INDIA SOFTWARE CENTER(SISC) Placement Pattern Sony3
INFOSYS PAPER - 24 SEP 2006 - HYDERABAD Infosys1
MBT PAPER MBT1
My Hcl Interview Experience in Chennai on 26 Nov,Placement Paper HCL1
Patni Coimbatore Interview Placement Paper In Coiambatore Patni1
Infosys February 3, 2008 Infosys1
Tcs 3+ Experienced Dotnet Interview TCS1
Robert Bosch 3 Mar 2007 Coimbatore Written Test Paper Bosch2
CADENCE PLACEMENT PAPERS ----------- Placement Paper 1 Cadence1
placement paper of manhattan associates Manhattan1
Placement Paper of Valuelabs On Aug 2006 Value-Labs1
Covansys Experienced Paper on Testing --- 2006 Covansys1
Aditi placement paper ADITI2
 
For more Placement Papers Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com