.
  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 » iGate Placement Papers » iGate Previous Year Placement Paper

 

iGate Placement Paper - C Programming Question And Answers


Advertisements
Advertisements




iGate Previous Years Solved Sample Placement Papers

  1. Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4

    (a) sizeof(s)=8, sizeof(u)=8 (Ans)

    (b) sizeof(s)=4, sizeof(u)=8

    (c) sizeof(s)=8, sizeof(u)=4

    (d) sizeof(s)=4, sizeof(u)=4

  2. Output of i after executing the program

    (a) 1

    (b) 2

    (c) 3

    (d) none (Ans)

  3. char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ?

    (a) 0

    (b) ASCII 0

    (c) I

    (d) unpredictable (Ans)

  4. Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

    (a) 127

    (b) 128

    (c) 256

    (d) infinitely (Ans)

  5. int i; i=0; repeat i=i+1; <====== PASCAL PROGRAM print i; until(i<10) end No. of times the loop is executed?

    (a) 0

    (b) 1

    (c) 10

    (d) indefinitely (Ans)

  6. Convert (int A,var ,int B;int c) { A=10; B=4-; C=120; } Convert (inta,b,c) { <====== PASCAL PROGRAM a=1; b=4; c=12; }convert ( A,B,c) ? (10,40,120 10,40,12,..........,............)

    (a) 10,40,120 (Ans)

    (b) 10,40,12

    (c) 10,4,0

    (d) none of the above

  7. Procedure A Begin -------- end <====== PASCAL PROGRAM Procedure B No. Of errors in the program ?

    (a) 1

    (b) 2

    (c) 3

    (d) none (Ans)

  8. Output of the program ?

    (a) 4

    (b) 3

    (c) unpredictable (Ans)

    (d) none

  9. main() {
        printf("%u", main());
    }
            
    What happens?

    (a) Prints garbage.

    (b) Execution error.

    (c) Prints starting address of function main. (Ans)

    (d) Infinite loop.

  10. int a, *b = &a, **c = &b;
    ...
    a = 4;
    **c = 5;
            
    What happens?

    (a) Does not change value of a

    (b) Assign address of c to a

    (c) Assign value of b to a

    (d) Assign 5 to a. (Ans)




 


.

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