Register Free
|
Login
JOB SEEKERS
JOBS
Job By Category
Job By Courses
Job By City
Job By Company
PLACEMENT PAPERS
HOME
APTITUDE QUESTIONS
CURRENT AFFAIRS
GENERAL KNOWLEDGE
INTERVIEW QUESTIONS
PLACEMENT PAPERS
EXAM PREPARATION
INSTITUTES & COURSES
LOGOUT
REGISTER
LOGIN
HOME
JOBS
Job By Category
IT / Software
Core Technical
Govt. Sector
MBA Jobs
Internship Jobs
Diploma Jobs
Research
Defence
BPO Jobs
Part Time Jobs
Bank Jobs
Walk-ins
Teaching
Pharma Jobs
StartUp Jobs
Other Category...
Job By Courses
BE / B.Tech
MCA
MBA / PGDM
ME / M.Tech
M.Sc Jobs
B.Com Jobs
BBA / BBM Jobs
BCA Jobs
BSc Jobs
Diploma Jobs
Other Courses...
Job By City
Anywhere in India
Ahmedabad
Bangalore
Chennai
Delhi / NCR
Hyderabad
Kolkata
Mumbai
Pune
Gurgaon
Noida
Punjab
Chandigarh
Kochi
Kharagpur
Other Cities...
Job By Company
BPCL Jobs
BSNL Jobs
DRDO Jobs
HAL Jobs
Indian Air Force Jobs
Indian Army Jobs
Indian Navy Jobs
Railway Jobs
SBI Jobs
SSC Jobs
UPSC Jobs
FCI Jobs
Other Companies..
APTITUDE QUESTIONS
Quantitative Aptitude
Number System
Profit and Loss
Boats and Streams
Simplification
Pipes and Cistern
Sets and Union
Speed and Distance
Time and Work
Simple and Compound Interest
Partnership
Probability
Fractions
Percentages
Progression
Geometry and Mensuration
LCM and HCF
Logarithm
Ratio Proportion Variation
Averages Mixtures and Alligation
Permutation and Combination
Surds and Indices
Height and Distance
Read More...
Verbal Ability
Grammar Concepts
Antonyms
Fill in the blanks
Error Correction
Synonyms
Comprehension
Idioms and Phrases
Read More...
Logical Reasoning
Cubes and Dices
Day Sequence
Blood Relation
Coding and Decoding
Clocks Calender and Age
Puzzles
Direction and Senses
Series
Statement and Assumptions
Statements and Conclusions
Data Sufficiency
Statements and Arguments
Decision Making
Read More...
Data Interpretation
Venn Diagram
Bar Graph
Line Graph
Pie Charts
Tabular Data
Net Diagrams
Read More...
CURRENT AFFAIRS
Current Affairs 2020
Current Affairs Latest
April 2020
May 2020
March 2020
February 2020
January 2020
Current Affairs 2019
December 2019
November 2019
October 2019
GENERAL KNOWLEDGE
General Knowledge
World Geography
World Economy
World Organizations
India and World
World History
National and International Days
Indian History
Indian Geography
River System of India
States and Capitals of India
Major Power Plants in India
Indian Constitution
Indian Economy
Indian Politics
Indian Supreme Court
Indian Parliament
Indian Historical Period
Indian Freedom Struggle
Books and Authors
Awards and Honours
World Largest Smallest
Computer Technology
General Science
Persons in News
Inventions
Read More...
INTERVIEW QUESTIONS
General Interview Questions
HR interview Questions
How to face interview
Types of Questions
Tips for Interview
Bank Interview Questions
Campus interview
Panel interview
Technical interview
Phone interview
Etiquettes
Interview Dressing
Mistakes
Interview Preparation Tips
Interview Body Language
Read More...
Resume Format
Resume Tips
Resume Samples
Sample Cover Letter
How to write a resume
Cover Letter Etiquette
15 Golden Tips
Resume Mistakes
Why Do You Need a Resume
Basics of Writing a Resume
Basic Etiquette
Read More...
Technical Interview Questions
Java Interview Questions
C Interview Questions
.Net Interview Questions
PHP Interview Questions
C++ Interview Questions
OS Interview Questions
Networking Interview Questions
Electronics Interview Questions
Mechanical Interview Questions
Data Structure Interview Questions
Civil Interview Questions
Algorithms Interview Questions
Software Testing Interview Questions
DBMS Interview Questions
Read More ...
Group discussion
Types of GD
GD Tips
GD Dos and Donts
MBA GD Topics
Basic skills required for GD
GD FAQ's
3 important parameter in GD
Current GD Topics
Read More..
PLACEMENT PAPERS
IT Companies
TCS Placement Papers
Accenture Placement Papers
WIPRO Placement Papers
Infosys Placement Papers
HP Placement Papers
DELL Placement Papers
3i-Infotech Placement Papers
HTC Placement Papers
UST Global Placement Papers
Asian Paints Placement Papers
Amazon Placement Papers
Capegemini Placement Papers
CTS Placement Papers
Persistent Placement Papers
Oracle Placement Papers
Huawei Placement Papers
Intel Placement Papers
3i-Infotech Placement Papers
Persistent Placement Papers
Sapient Placement Papers
AIG Placement Papers
HCL Placement Papers
Mu-Sigma Placement Papers
IBM Placement Papers
CGI Placement Papers
Sony Placement Papers
CISCO Placement Papers
PHILIPS Placement Papers
Caterpillar Placement Papers
ABB Placement Papers
CMC Placement Papers
Syntel Placement Papers
Subex Placement Papers
Robert Bosch Placement Papers
SAP Placement Papers
SERCO Placement Papers
Flextronics Placement Papers
Godrej Placement Papers
SAMSUNG Placement Papers
Hexaware Placement Papers
Read More...
EXAM PREPARATION
Bank Exam Preparation
Axis Bank Question Papers
IBPS Question Papers
HDFC Question Papers
SBI Question Papers
ICICI Question Papers
SBT Question Papers
IDBI Question Papers
BANK OF INDIA Question Papers
Canara Bank Question Papers
Indian Bank Question Papers
Central Bank of India Question Papers
UBI Question Papers
IOB Question Papers
Read More...
PSC Question Papers
Kerala PSC Question Papers
MPPSC Question Papers
HPPSC Question Papers
CGPSC Question Papers
GPSC Question Papers
JPSC Question Papers
APPSC Question Papers
HPSC Question Papers
JKPSC Question Papers
APSC Question Papers
Bihar PSC Question Papers
Read More...
PSU Companies
SSC Question Papers
UPSC Question Papers
Indian Railways Question Papers
Air India Question Papers
LIC Question Papers
BSNL Question Papers
UPSSSC Question Papers
India Post Question Papers
ESIC Question Papers
FCI Question Papers
SAIL Question Papers
Indian Army Question Papers
CISF Question Papers
Read More...
Entrance Exams Preparation
CAT Exam Preparations
MAT Exam Preparations
JEE Exam Preparations
IES Exam Preparations
GATE CSE Papers
GATE ECE Papers
GATE ME Papers
GATE EEE Papers
Read More...
Home
»
placement papers
»
infosys
»
aptitude-puzzle
Aptitude - Puzzle
|
13025
Aptitude - Puzzle
13025
Aptitude - Puzzle
c ques:
1.a=5,b=3,c=a,b
d=(a,b)
printf(c,d)
ans:c=5,d=3
2.e(int n)
{
if(n>0)
{
(not clear)
printf("%d",n);
e(--n);
}
return
}
ans:0,1,2,0
3.which has no problem with pointers
int *f1()
{
int n;
return (n)
}
int *f2()
{
int *p;
*p=3;
return p;
}
int *f3()
{
int *p;
p=malloc();
return p;
}
ans:no error
4.header file ->contains declarations.
5. sizeof operator is executed during compile time..
6.*p+=1
*p++
are these two same?
not same.
7 .func(int i)
{
static int count;
count=count+i;
}
ans:1+2+3...(counts values does not go after funtion call
8. is('a'<'b') true
10 short int=16 bits
11.4 stmt. ans.int float i;
12.int num[3];
num[3]=2;
ans:first stmt deals with size
second deals with element
13 .j=4
for(int i=0;i<5;i++)
{
j++;
++j;
}
output of j.
ans:14
9.char s1[20]="hello world";
s1[5]="\0";
printf("%d",strlen(s1));
printf("%%.%...(not clear)",s1);
}
ans:bad format specifier
14.brace { used in c for what ans:convention
15.parameters in c passed by ans:value.
16.when an array is passed it is by ans:pointer.
17.scanf can read ans:any data type
18.which cant be passed to subroutine.ans:preprocessor directive.
19.to get string of words..ans:gets()
20.external variables can be accesed ans:in functions which use them.
analytical:
1.cat->satc
dear->seard
sing->sings
3.1999 july 21st friday
1947 july 21st ?
ans:two days before.
4.2,12,30,56,
Similar Categories
more
HCL
Mu-Sigma
TCS
Amazon
CTS
WIPRO
Capgemini
Infosys
TechMahindra
Genpact
Syntel
Amdocs
SUBEX
HP
Dell
Microsoft
SAP
Cisco
IBM
CGI
Bajaj
Ernst & Young
Adobe
Intel
Mphasis
Deloitte
Oracle
VMware
iGate
Verizon
ONLINE TESTS
feedback
Verify Mobile Number
We have sent OTP to your registered Mobile number. Please enter below for verification.
Enter valid OTP
Not received OTP Mobile number Yet?
Resend