.
  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 » Aalayance Written test Papers » Aalayance Previous Years Solved Sample Placement Papers

 

Aalayance Placement Paper - Logical Reasoning and Technical Questions


Advertisements
Advertisements



Previous Years Solved Sample Placement Papers

  1. What is the output of the program ```c void main() { char s[]="oracle is the best"; char t[40]; char *ss,*tt; while(*tt++=*ss++); printf("%s",t); getch(); } ```

    (a) oracle is the best

    (b) Core dump (Ans)

    (c) Error Message

    (d) Goes into infinite loop

  2. What is the output of the program ```c void main() { int j[10]={9,7,5,3,1,2,4,6,9}; int i=1; clrscr(); for(;i<9;i++) printf("%d ",--j[i++]); getch(); } ```

    (a) 6,2,1,5 (Ans)

    (b) 6,2,1,5,7

    (c) Error Message

    (d) Core dump

  3. What is the output of the program ```c void main() { int i,j,k,n=5; clrscr(); for(i=5;i>0;i--) { j=1(a) 00011

    (b) 11110 (Ans)

    (c) 11001

    (d) 11100

  4. What is the output of the program ```c #include #include void main() { int i=1*4/3-27%3^2+100*0.5-(4>3?1:2); clrscr(); printf("%d",i); getch(); } ```

    (a) 49

    (b) Compile error (Ans)

    (c) 51

    (d) 48

  5. What is the output of the program ```c #include #include void main() { char *st1[3]= {"Hello","World","Oracle"}; *st1=st1[2]; st1[1]=*st1; free(st1[0]); free(st1[1]); clrscr(); printf("%s %s %s",st1,st1[1],st1[2]); getch(); } ```

    (a) Garbage Garbage Oracle

    (b) Oracle Oracle Oracle

    (c) Hello World Oracle

    (d) Core Dump: cannot Print after freeing the memory (Ans)

  6. What is the output of the program ```c #include void main() { char buffer[10]={"Genesis"}; printf("%d",&buffer[4]-(buffer)); } ```

    (a) 3

    (b) 4

    (c) 0

    (d) Illegal pointer subtraction

  7. What is the output of the program ```c #include main() { static int a[]={5,10,15,20}; int *ptr=a; int **ptr_ptr=&ptr; printf("\n %d",**ptr_ptr++); } ```

    (a) 5

    (b) 10

    (c) 15

    (d) 6

  8. What is the value of the expression `1+2/3*4+1`

    (a) 2

    (b) 3

    (c) 4

    (d) 4.666666

    (e) 5




 


.

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