.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » Subex Placement Papers » Subex Previous Year Placement Paper

 

Subex Placement Paper -: Programming Questions With Answers


Advertisements
Advertisements




Subex Previous Years Solved Sample Placement Papers

  1. What is the output of the following program?
    
    #include
    main() {
      int i, j, x = 0;
      for (i = 0; i < 5; ++i)
        for (j = 0; j < 5; ++j)
          x += (i + j - 1);
      printf("%d", x);
      break;
    }
        

    A. 1

    B. 0

    C. 2

    D. None of the above Answer: Option D

  2. Solution: The program does not have a valid break statement inside a loop.
  3. Consider the following:

    i. Pointer to a function that accepts 3 integer arguments and returns a floating-point quantity

    float(8pf)(int a, int b, int c)

    ii. Pointer to a function that accepts 3 pointers to integer quantities as arguments and returns a pointer to a floating-point quantity

    float *(*pf)(int *a, int *b, int *c);

    A. i is true, ii is true

    B. i is true, ii is false

    C. i is false, ii is false

    D. i is false, ii is true Answer: Option D

  4. Consider the following statements:

    i. An integer quantity can be added to or subtracted from a pointer variable.

    ii. Two pointer variables can be added.

    iii. A pointer variable can be multiplied by a constant.

    iv. Two pointer variables of the same type can be subtracted.

    A. Only ii & iv are true

    B. Only iii is false

    C. Only ii is false Answer: Option C

    D. Only i & ii are true

  5. If p is a pointer, what does p mean?

    A. Same as *(*p+i)

    B. Same as *(p+i) Answer: Option B

    C. Same as *p+i

    D. None of the above




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy