• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • Programming

Placement Papers with Solutions

Company

  • 3i-Infotech 345
  • Accenture 548
  • ADITI 81
  • Athenahealth 72
  • CADENCE 37
  • Capgemini 519
  • CMC 49
  • Cognizant 29
  • CSC 480
  • CTS 1340
  • Dell 49
  • Elitmus 44
  • GENPACT 516
  • Google 55
  • HCL 217
  • Hexaware 92
  • Huawei 81
  • IBM 1714
  • IGate 169
  • Infosys 2050
  • L&T 299
  • Microsoft 61
  • Miscellaneous 204
  • Oracle 74
  • Other 95
  • Patni 199
  • Sapient 44
  • Sasken 31
  • Self 38
  • Syntel 530
  • TCS 9109
  • Tech Mahindra 500
  • Wipro 1182

Exam

  • ACIO 119
  • AIEEE 334
  • AMCAT 2636
  • Assessment 108
  • Bank 22
  • CAT 988
  • CMAT 82
  • Cocubes 39
  • Elitmus 2952
  • Exam 39
  • Gate 846
  • GMAT 107
  • Gmate 29
  • GRE 469
  • IIT-JEE 471
  • ITC 28
  • Maths Olympiad 205
  • MBA 3481
  • MCA 32
  • Other 159
  • Others 25
  • R-SAT 111
  • Self 68

Government Jobs Exams

  • Bank Exam 478
  • CDS 57
  • CTET 21
  • IBPS 1258
  • IES EC 44
  • KVPY 364
  • NDA 481
  • NTSE 36
  • REVENUE OFFICE 53
  • RRB 1029
  • SSC 1294
  • UPSC 441

Interview

  • HR Interview 426
  • HR Round 41

Maths Puzzle

  • A website 299
  • Book 23779
  • Campus 250
  • CMAT 49
  • Exam 86152
  • General 399
  • Interview 141
  • M4maths 295
  • Maths 226
  • Orkut 27
  • Other 72
  • Others 1356
  • Reasoning 101
  • Self 3157

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70
Keep an EYE (0)Interview Experience (261)
Solved Question (95) UnSolved Question (1888)
Pages: 199FirstPrev185186187188189190191192193194NextLast
Advertisements

(#M40018742) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be the output of the program?
#include
int main()
{
int i=0;
for(; i<=5; i++);
printf("%d", i);
return 0;
}
Optons
1) 0, 1, 2, 3, 4, 5
2) 5
3) 1, 2, 3, 4
4) 6

Asked In C (12 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Program

(#M40018741) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be the output of the program?
#include
int main()
{
char str[]="C-program";
int a = 5;
printf(a >10?"Psn":"%sn", str);
return 0;
}
Options
1) C-program
2) Ps
3) Error
4) None of above

Asked In C (12 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (33)   (19) Submit Your Solution Program
Advertisements

(#M40018740) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be the output of the program?
#include
int main()
{
char ch;
if(ch = printf(""))
printf("It mattersn");
else
printf("It doesn't mattersn");
return 0;
}
Options
1) It matters
2) It doesn't matters
3) matters
4) No output

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (3)   (1) Submit Your Solution Program

(#M40018739) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

If we want that any wildcard characters in the command
line arguments should be appropriately expanded, are we
required to make any special provision? If yes, which?

Asked In C (12 years ago)
Unsolved
Is this Puzzle helpful?   (8)   (0) Submit Your Solution Technical

(#M40018738) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the maximum combined length of command line
arguments including the space between adjacent
arguments?

Asked In C (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (7)   (2) Submit Your Solution Output

(#M40018737) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Assuming a integer 2-bytes, What will be the output of the program?
#include

int main()
{
printf("%xn", -1<<3);
return 0;
}
Options
1) ffff
2) fff8
3) 0
4) -1

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (3)   (2) Submit Your Solution Program

(#M40018736) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Point out the error if any in the following program (Turbo C).
#include
#include
void display(int num, ...);

int main()
{
display(4, 'A', 'a', 'b', 'c');
return 0;
}
void display(int num, ...)
{
char c; int j;
va_list ptr;
va_start(ptr, num);
for(j=1; j<=num; j++)
{
c = va_arg(ptr, char);
printf("%c", c);
}
}
Options
1) Error: unknown variable ptr
2) Error: Lvalue required for parameter
3) No error and print A a b c
4) No error and print 4 A a b c

Asked In C (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (4)   (1) Submit Your Solution Program

(#M40018731) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be the output of the program ?
#include
#include

int main()
{
char str1[20] = "Hello", str2[20] = " World";
printf("%sn", strcpy(str2, strcat(str1, str2)));
return 0;
}
Options
1) Hello
2) World
3) Hello World
4) WorldHello

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (11)   (3) Submit Your Solution Program

(#M40018729) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be the output of the program ?
#include
#include

int main()
{
printf("%dn", strlen("123456"));
return 0;
}
Options
1) 6
2) 12
3) 7
4) 2

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (9)   (5) Submit Your Solution Program

(#M40018727) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Are the expressions arr and &arr same for an array of
integers?

Asked In C (12 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (4)   (6) Submit Your Solution Technical
Keep an EYE (0)Interview Experience (261)
Solved Question (95) UnSolved Question (1888)
Pages: 199FirstPrev185186187188189190191192193194NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

Full form of MATHS M-mentally A-assets T-teacher H-harassing S-students all the time.

Jasmine Khan

Round numbers are always false.

Samuel Johnson

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com