Follow Quotesrain
  • 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
  • /
  • TCS
  • /
  • Programming
  • /
  • Arrays

Frequently Asked TCS Programming - Arrays Interview Questions with Answers

TCS Select Another Category Arrays Select Another Topic

Company

  • 3i-Infotech 345
  • Accenture 547
  • 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 9108
  • Tech Mahindra 500
  • Wipro 1182

TCS Question Topics

    Category (489)

    General Ability (141)

  • General Knowledge (140)
  • HR Interview (122)

  • Interview (119)
  • Logical Reasoning (850)

  • Age Problem (1)
  • Blood Relations (138)
  • Coding Decoding (85)
  • Cryptography (43)
  • Decision Making and Problem Solving (54)
  • Direction Sense (28)
  • General Mental Ability (96)
  • Letter Arrangement (24)
  • Letter Series (20)
  • Logical Sequences (60)
  • Mathematical Reasoning (109)
  • Missing Character (20)
  • Number Series (135)
  • Seating Arrangement (31)
  • Numerical Ability (3071)

  • Age Problem (196)
  • Algebra (164)
  • Alligation or Mixture (18)
  • Area and Volume (112)
  • Arithmetic (216)
  • Averages (82)
  • Boats and Streams (13)
  • Clocks and Calendars (50)
  • Co-ordinate geometry (29)
  • Complex Numbers (10)
  • Data Interpretation (24)
  • Data Sufficiency (11)
  • Geometry (116)
  • Height and Distance (15)
  • LCM and HCF (63)
  • Log and Antilog (10)
  • Number System (438)
  • Percentage (104)
  • Permutation and Combination (335)
  • Pipes and Cistern (6)
  • Probability (304)
  • Profit and Loss (102)
  • Quadratic Equations (16)
  • Ratio and Proportion (97)
  • Sequence and Series (86)
  • Simple & Compound Interest (16)
  • Stock and Shares (7)
  • Time and Work (180)
  • Time Distance and Speed (188)
  • Trigonometry (15)
  • Programming (166)

  • Arrays (23)
  • Basics (13)
  • Database (10)
  • Definition (8)
  • Functions (12)
  • Output (18)
  • Program (30)
  • Puzzles (2)
  • Technical (22)
  • Variables (11)
  • Verbal Ability (87)

  • Antonyms (15)
  • Miscellaneous (16)
  • One Word Substitution (8)
  • Sentence Arrangement (12)
  • Sentence Completion (7)
  • Spotting Errors (5)
  • Synonyms (23)
Keep an EYE (0)TCS Interview Experience (89)
Solved Question (3) UnSolved Question (20)
Pages: 3123NextLast
Advertisements

(#M40165201) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Predict the output of following code:
main()
{
int a=b=c=d=10;
//​ error: ‘b’ , ‘c’, ‘d’ undeclared
printf(“%d,%d,%d,%d”,a,b,c,d);
}
1. Error
2. 10,10,10,10
3. GV,GV,GV,10
4. GV,GV,GV,GV

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (15)
Is this Puzzle helpful?   (47)   (12) Submit Your Solution Arrays

(#M40167063) TCS QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following statements are correct about 6 used in the program?
int num[6];
num[6]=21;

A)In the first statement 6 specifies a particular element , whereas in the second statement it specifies a array size. B)In both the statements 6 specifies array size C)In the first statement 6 specifies a array size, whereas in the second statement it specifies a particular element of array. D)In the first statement 6 specifies a particular element, whereas in the second statement it specifies a type.

Asked In TCS Devendra Marghade (2 years ago)
Unsolved Read Solution (9)
Is this Puzzle helpful?   (42)   (5) Submit Your Solution Arrays
Advertisements

(#M40165154) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

A pointer variable can be

1. Changed within function.
2. Assigned an integer value.
3. None of these
4. Passed to a function as argument.

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (25)   (21) Submit Your Solution Arrays

(#M40165172) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Is there any difference int the following declarations?
int fun(int arr[]);int fun(int arr[2]);
A.Yes
B.No

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (42)   (17) Submit Your Solution Arrays

(#M40165198) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Predict the output of following code:
main()
{
int a=2;
if(a-- , --a, a) // if(2, 0, 0) last value 0 →False
printf(“Tom”);
else
printf(“Jerry”);
}

1. Tom
2. Jerry
3. Tom Jerry
4. Error

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (3)   (0) Submit Your Solution Arrays

(#M40167045) TCS QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following gives memory address of the first element in array?
1)array(2); 2)array[1]; 3)array[0]; 4)array;

Asked In TCS Devendra Marghade (2 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (18)   (0) Submit Your Solution Arrays

(#M40165168) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will happen if in a C program you assign a value to an array element
whose subscript exceeds the size of array?
1. The element will be set to 0.
2. The compiler would report an error.
3. The program may crash if some important data gets overwritten.
4. The array size would appropriately grow.

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (11)
Is this Puzzle helpful?   (11)   (2) Submit Your Solution Arrays

(#M40000819) TCS QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Fill dirt or fill soil is usually the sub-soil removed from an excavation side and is used to level a place or create
artificial mounds. If the average density of sub—soil removed from a site is 3gm/cu cm and it weight 400 kg.
How many hemispherical pits each of volume 240 cubic cm, can this sub-soil fill?
(a)555 (b)277 (c)556 (d)554

Asked In TCS Akeefar (12 years ago)
Solved avik mishra Read Solution (1)
Is this Puzzle helpful?   (28)   (14) Submit Your Solution Arrays

(#M40165176) TCS QUESTION Technical MCQ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the fplowing special symbp allowed in a variable name?
1.* (asterisk)
2.| (pipepne)
3.-(hyphen)
4._(underscore)

Asked In TCS Ashish (5 years ago)
Unsolved Read Solution (14)
Is this Puzzle helpful?   (7)   (4) Submit Your Solution Arrays

(#M40013619) TCS QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Some birds are sitting in an oak tree. Ten more birds land. More birds arrive until there are a total of four times as many birds as the oak tree had after the ten landed. A nearby maple tree has sixteen fewer than twelve times as many birds as the oak tree had after the ten landed. If both trees now have the same number
of birds, how many birds were originally in the oak tree before the first 10 landed?
a)4 b) 7 c) 16 d) 24

Asked In TCS naresh (10 years ago)
Solved Smita Read Solution (3)
Is this Puzzle helpful?   (23)   (13) Submit Your Solution Arrays
Keep an EYE (0)TCS Interview Experience (89)
Solved Question (3) UnSolved Question (20)
Pages: 3123NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

mathematics is very useful for us.this is truely motivation subject.i really appreciate.

Aman tiwari

MATHEMATICS is the key of every problem.

vivek .R

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 2 years ago

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

yash mittal 3 years ago
  • 2476K+Registerd user
  • 1734K+Engineers
  • 742K+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