SAP Technical Questions - Placement Papers from previous years

SAP Technical Questions - Placement Papers from previous years


Q1. C function should

a) Return more than one value
b) Return a float
c) Return an integer
d) Not return any value

Q2. Where is MAIN written in a programme in C?

a) First function
b) Second function
c) Last function
d) Anywhere

Q3. In a C statement what cannot be done?

a) Comments can go over multiple line
b) Comments can start anywhere in the line
c) A line can contain sentences without any language statements
d) Comments can occur within comments

Q4.in the following read the function conv()

conv(int t)
{
Int u;
U=5/9*(t-32);
}

a) 15
b) 0
c) 21
d) 16.1

Q5. Int *a[5] refers to

a) Array of pointers
b) Pointer to an array
c) Pointer to a pointer

Q6. GOTO is used for?

a) Terminate loops or exit from a switch
b) Carry out a logical test and then on the basis of the answer choose one of the two options
c) Both
d) None

Q7. What is the recursive form of the following algebra
Y=(x1+x2+.....+xn)

a) Y=xn+xi
b) Y=xn+n-1i-1xi
c) Y=xn+n
d) None

Q8. This will display what?

#include
main()
{
Float f
F=10/3
Printf (“%f”,f);
}


a) 3.3
b) 3
c) 3.2
d) None

Q9. What is incorrect for strlen()

a) Returns length of string
b) Does not count null terminator
c) Both
d) None

Q10. Variable that holds memory address of another is

a) Memory variable
b) Integer
c) Constant
d) None

Q11. MAIN() is an example of

a) Library function
b) User defined
c) Header
d) Statement

Q12. Which of the following is wrong?

a) A=b=3=4

b) a=b=c=d=0;
float a=int;b=3.5;

c) int a;
float b;
a=b=3.5;

Q13. Y=g;
if (x==10)
else if (x==9)
else y=8;

What is y is x =10

a) 9
b) 8
c) 6
d) 7
Post your comment

    Discussion

  • RE: SAP Technical Questions - Placement Papers from previous years -chandan hegde (06/13/16)
  • Please can you provide answer for these
  • RE: SAP Technical Questions - Placement Papers from previous years -AKASH (10/21/14)
  • hi, Learn All SAP Modules online Eg. SAP EWM, SAP TM ,SAP GTS, SAP BPC, SAP CRM , SAP APO , SAP IS - Retail and SAP IS - UTILITY.
    Reach us at
    akash@maxmunus.com
    +91-9035888988
    www.maxmunus.com