C Multiple Choice Questions | MCQs | Quiz
• Variable Names – 1
• Variable Names – 2
• Data Types
• Data Sizes
• Constants – 1
• Constants – 2
• Declarations – 1
• Declarations – 2
• Arithmetic Operators – 1
• Arithmetic Operators – 2
• Relational Operators
• Logical Operators
• Type Conversions – 1
• Type Conversions – 2
• Increment Operators
• Decrement Operators
• Bitwise Operators – 1
• Bitwise Operators – 2
• Assigment Operators
• Conditional Expressions – 1
• Conditional Expressions – 2
• Operator Precedence – 1
• Operator Precedence – 2
• Order of Evaluation – 1
• Order of Evaluation – 2
• Associativity – 1
• Associativity – 2
• If Statements – 1
• If Statements – 2
• Switch Statements – 1
• Switch Statements – 2
• For Loops – 1
• For Loops – 2
• While Loops – 1
• While Loops – 2
• Break & Continue – 1
• Break & Continue – 2
• Goto & Labels – 1
• Goto & Labels – 2
• Functions Basics – 1
• Function Basics – 2
• Functions Return
• Return Values
• External Variables – 1
• External Variables – 2
• Variable Scope – 1
• Variable Scope – 2
• Static Variables – 1
• Static Variables – 2
• Register Variables – 1
• Register Variables – 2
• Automatic Variables – 1
• Automatic Variables – 2
• Preprocessor – 1
• Preprocessor – 2
• File Inclusion – 1
• File Inclusion – 2
• Macro Substitution – 1
• Macro Substitution – 2
• Conditional Inclusion – 1
• Conditional Inclusion – 2
• Pointers & Addresses – 1
• Pointers & Addresses – 2
• Function Arguments – 1
• Pointers Arguments 2
• Pointers & Arrays – 1
• Pointers & Arrays – 2
• Address Arithmetic – 1
• Address Arithmetic – 2
• Pointers/Functions – 1
• Pointers/Functions – 2
• Pointers to Pointers – 1
• Pointers to Pointers – 2
• Multidimensional Arrays – 1
• Multidimensional Arrays – 2
• Pointer Arrays Init – 1
• Pointer Arrays Init – 2
• Multi-dimensional Arrays – 1
• Multi-dimensional Arrays – 2
• Command Line Arguments1
• Command Line Arguments2
• Pointers to Functions – 1
• Pointers to Functions – 2
• Complicated Declarations-1
• Complicated Declarations-2
• Structures – 1
• Structures – 2
• Structures & Functions – 1
• Structures & Functions – 2
• Arrays of Structures – 1
• Arrays of Structures – 2
• Pointer to Structures – 1
• Pointer to Structures – 2
• Self-Referential Structures-1
• Self-Referential Structures-2
• Table Lookup – 1
• Table Lookup – 2
• Typedefs – 1
• Typedefs – 2
• Unions – 1
• Unions – 2
• Bit-fields – 1
• Bit-fields – 2
• Standard Input & Output – 1
• Standard Input & Output – 2
• Printf – 1
• Printf – 2
• Varargs – 1
• Varargs – 2
• Scanf – 1
• Scanf – 2
• File Access – 1
• File Access – 2
• Error Handling – 1
• Error Handling – 2
• Line Input & Output – 1
• Line Input & Output – 2
• String Operations – 1
• String Operations – 2
• Character Class – 1
• Character Class – 2
• Ungetc – 1
• Ungetc – 2
• Storage Management – 1
• Storage Management – 2
• Mathematical Functions – 1
• Mathematical Functions – 2
• Random Number – 1
• Random Number – 2
• Float Datatype – 1
• Float Datatype – 2
• Sizeof – 1
• Sizeof – 2
Best Reference Books
Here is a listing of C questions and puzzles on “Declarations” along with answers, explanations and/or solutions:
1. Which of the following declaration is illegal?
a) char *str = “Best C programming classes by Sanfoundry”;
b) char str = “Best C programming classes by Sanfoundry”;
c) char str = “Best C programming classes by Sanfoundry”;
d) char str = “Best C programming classes by Sanfoundry”;
Explanation: char str is a declaration in Java, but not in C.
2. Which keyword is used to prevent any changes in the variable within a C program?
Explanation: const is a keyword constant in C program.
3. Which of the following is not a pointer declaration?
a) char a;
b) char a = ‘1’, ‘2’, ‘3’, ‘4’;
c) char *str;
d) char a;
Explanation: Array declarations are pointer declarations.
4. What will be the output of the following C code?
int k = 4;
float k = 4;
a) Compile time error
Explanation: Since the variable k is defined both as integer and as float, it results in an error.
$ cc pgm8.c
pgm8.c: In function ‘main’:
pgm8.c:5: error: conflicting types for ‘k’
pgm8.c:4: note: previous definition of ‘k’ was here
pgm8.c:6: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘double’
pgm8.c:7: error: expected ‘;’ before ‘}’ token
5. Which of the following statement is false?
a) A variable defined once can be defined again with different scope
b) A single variable cannot be defined with two different types in the same scope
c) A variable must be declared and defined at the same time
d) A variable refers to a location in memory
Explanation: It is not an error if the variable is declared and not defined. For example – extern declarations.
6. A variable declared in a function can be used in main().
c) True if it is declared static
d) None of the mentioned
Explanation: Since the scope of the variable declared within a function is restricted only within that function, so the above statement is false.
7. The name of the variable used in one function cannot be used in another function.
c) May be
d) None of the mentioned
Explanation: Since the scope of the variable declared within a function is restricted only within that function, the same name can be used to declare another variable in another function.
Sanfoundry Global Education Learning Series – C Programming Language.
C Mock Tests Certification Test | 1000 C MCQs | 1000 C Programs | 1000 C Algorithms | Best C Books | C Internship
Manish Bhojasia , a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer
Live Training Photos
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.
SAN II – Admin
Advanced C Training
Linux Device Drivers
Best Reference Books
Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books
Questions and Answers
1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers
Computer Science Internships
All Stream Internships
Skip to content
TCS Previous Papers with Solutions for Recruitment
Looking for TCS placement papers for your recruitment test? Don’t worry you will find all the tcs previous papers with solutions, tcs written test papers are of moderate difficulty. We have all the TCS Previous Questions from TCS Test Papers. These TCS Previous Question Papers are as observed constantly in each drive of TCS Placement Papers 2018 and all TCS Online Test Papers TCS Previous Year Question Paper, TCS Off Campus Drive Question Papers and On Campus Questions papers, TCS Sample Papers with Solutions PDF, TCS Model Papers with Solutions PDF for Exam, TCS 2018 Placement Papers, TCS Previous Year Papers, TCS Previous Year Question Papers with Solutions PDF, TCS Previous Year Placement Papers, TCS Multiple Choice Questions, TCS C MCQ Questions, TCS Question Paper TCS TNSLPP Anna University Pattern for Off campus 2018.
TCS has changed its pattern and even questions bank in 2017 October, . We have the latest questions and the latest pattern updated in May.
Note – If you have any question regarding the exam, comment at the end of the page we will answer within 10 mins.
TCS consists of the following Sections according to the latest pattern changed this year –
Get all the questions asked Today in TCS here –
TCS Ninja Live Questions Dashboard
Table of Contents
- TCS Previous Papers Introduction
- Test Pattern
- TCS Questions
- Pattern Analysis
- TCS Success Story
- Step by Step Placement details
- TCS FAQ’s
TCS Online Test Papers & TCS Placement Papers 2018
Very Imp Note – There are some websites who are taking advantage of PrepInsta’s hardwork. They have made online live classes of their own by copying our materials, questions and codes.
Infact our free materials has more study material than their Online Live classes or material that they give.
We suggest not to trust anyone but PrepInsta and if you’ve bought the classes for them, attend them and make sure that you ask for refund as on day 1 of online live classes you will realise that our free material has more material than what you will get from them after paying 1000’s of Rs.
TCS Previous Year Papers Pattern
- TCS English Questions
- TCS Questions on Quantitative Ability
- TCS C MCQ Questions on Programming and Computer Science
- TCS Questions on Coding Test
If you like you can check detailed TCS Syllabus and Pattern here on this page .
First we suggest you to check the eligibility criteria for TCS here on this page .
- Free Paid Materials also given
- Click here to join Online Live Class
TCS Paid Material –
No Online Class in this, in Online class you will get preparation paid materials access also, but if you just want materials then you can buy the ones below –
- TCS Aptitude Preparation Paid Materials
- TCS Coding Preparation Paid Materials
- TCS Verbal English Preparation Paid Materials
- TCS Programming MCQ Preparation Paid Materials
- TCS email Writing Preparation Paid Materials
- Click here to join Online Live Class
Prices increase for Paid materials in
TCS Free (There is a lot of free materials) –
TCS Previous Test Papers and Answers
TCS Test Papers -Quantitative Ability Part 1
- Clocks and Calendar
- Permutations and Combinations
- Number System and HCF & LCM
- Allegations and Mixtures
- Ratios, Proportion and Averages
TCS Placement Papers – Quantitative Ability Part – 2
- Work and Time
- Series and Progressions
- Time, speed, distance
- Arrangements and Series
TCS Placement Papers – Quantitative Ability Part – 3
- Profit & Loss
- Problem on Ages
- Area, Shapes & Perimeter
- Numbers & Decimal Fractions
Number of Questions – 20(18 + 2 Star Marked) TCS Questions
Time – 40 mins
Star Marked Questions have 2x more marks and have negative marking in tcs online test papers.
TCS Quants Dashboard
TCS Technical and Programming Logic Questions
Our TCS Previous Year Question Papers with Solutions PDF our TCS Programming Logic Dashboard should help you a lot in practice.
TCS Technical and Programming Logic Dashboard
TCS Verbal English
This topic has just been introduced in TCS and there are 10 questions and the time given is also 10 mins.
TCS Verbal English Questions
TCS Questions on Email Writing Section Test Paper
- Go to TCS E-Mail Writing Dashboard.
Time – 10 Mins
This section is there in TCS Previous Year Question Papers with Solutions PDF.
TCS Email Writing Dashboard
TCS Questions on Coding Test Paper
In this section you have to solve a Coding Question in Language of your choice. Number of questions are 1 in 20 mins which is simple and have to code in in-built online compiler in TCS Online Test Papers.
- Go to TCS Coding Section Dashboard.
TCS Coding Dashboard
TCS Online Test Paper – Interview Preparation Dashoard
Find all the Technical Interview Quetions, Managerial and HR round pattern and most asked questions on this dashboard here.
- Go to TCS Interview Preparation Dashboard.
TCS Interview Preparation Dashboard
TCS Placement Papers Syllabus and Paper Pattern Analysis
Negative Marking in Recruitment Test
- There is negative marking of 0.33 per wrong question in TCS Multiple Choice Questions.
- Negative marking is only applicable in the Quants section, English and Programming Logic, there is no negative marking for the Creative Coding section.
|TCS Placement Papers Sections||Number of Questions||Allotted Time||No. of Star Marked Questions||Negative Marking|
|TCS Questions on Quantitative Aptitude||20 Questions||40 Minutes||5||Yes|
|Verbal English||10 Questions||10 Minutes||0||Yes|
|Programming Logic efficiency MCQ||10 Questions||20 Minutes||3||Yes|
|Coding Round||1 Question||20 Minutes||0||No|
TCS Previous Papers with Solutions based Facts in Hiring Trends
TCS will hire lesser number of Engineers this year, as there is slow down in hiring trends of all IT companies thus these TCS Previous papers PDF should help you a lot.
|TCS Previous Papers based Hiring||2011 – 12||2012 – 13||2013 -14||2014- 15||2015 -16||2016 – 2017||2017 – 18||2018 – 2019|
|No of Emplyees Hired by TCS||70,000||69,278||61,200||67,000||70,000||81,000||60,000||45,000|
TCS Previous Papers excelled – Success Story in TCS Question Paper
If you want to read more such On campus and Off Campus Interview Experiences you can read them on our TCS Interview Experiences Dashboard here .
- Name – Akshit
- College – MIET, Meerut
- Branch – CSE
TCS Previous Year Placement Papers Story
Coming from a Tier 3 college, I wasn’t expecting a lot of CS companies to visit our Campus. So TCS was one of the Big Companies I was hoping to get selected into. All my seniors had suggested to prepare from PrepInsta for any company including TCS. I had purchased the paid material also, for TCS Previous Year Question Papers with Solutions PDF will recommend others as well to buy since a small amount may land you up in a job in TCS by studying TCS Previous Papers with Solutions and Questions so you clear the first round with ease in TCS Previous Year Questions.
TCS Placement Papers 2018 was of very high difficulty as TCS is looking to hire lesser number of Freshers this year due to slow down in the Software Services Industry.
Selected in TCS , KIET Meerut
Here is Step by Step details for TCS 2018 Placement Papers By Akshit Ram –
Round 1: Online Round
For TCS Previous Year Papers these are the following sections in TCS 2018 Placement Papers –
Do note that you need to do all the rounds well as all of them have sectional cut offs in TCS Previous Year Placement Papers. Even if you cant score well in one round you wont be selected even though you had done the other rounds well.
This is round is of 10 minutes and 10 questions were there most of them were Fill the Blanks and Sentence Completion Questions.
TCS Questions on Quantitative Ability & Reasoning
This section has quantitative questions. Please refer previous year TCS papers and prepare. Prepare for TCS specific quant topic, thanks for letting me know PrepInsta.
TCS C MCQ Questions on Technical MCQ Section
This round is of 20 minutes. It is based on C language and please prepare all the basic concepts of C to clear this section.
From This year we didn’t have code in Command Line Programming and we could code in any of the following languages – C, C++, Java, Python etc.
TCS Multiple Choice Questions Tech Round
Round 2: Technical Round
After TCS Written Round we had this face to face round where you will be tested what you have done in years of your engineering. I had revised my engineering subjects basics. The person interviewing you may ask you your strong subject so please tell the subject that you have prepare well (I told C and Java).
I was asked to write a simple program to find all the prime numbers less than a number. I wrote a separate function for prime numbers and used a for loop to check all the numbers less than N, to check if they are prime or not. If they were prime i displayed the number. Then he gave coin weight balance puzzle which i stumbled with but after some clues i understood the problem, but i couldn’t give an accurate solution.The next series of questions was from C, which i managed to answer. Some of my friends got questions from OS and DBMS too in TCS Previous Year Placement Papers. It depends on your luck, so do prepare subjects like Networks, DBMS, OS, JAVA, C, C++ for tcs off campus placement paper.
For Non CS/IT people questions were on projects resume and branch based questions like circuit diagram of project and basic questions, definitions.
TCS Question Paper Round 3: Managerial Round
I was asked about my projects here. I was asked about my interests. My views and ideas of technology was tested. My friends had a few questions from programming here. This round basically checks your attitude and behaviour. Please try to be the person whom you are, if you pretend here ,the recruiters are smart enough to know that. If you don’t know something, then tell you are not sure about it. Also ask any query regarding the company when you are given a chance ,failing to do so will show your lack of interest for the company in TCS 2018 Placement Papers.
Round 4: HR Round
After TCS Question Paper Round this round will be a round where your knowledge for TCS will be tested. Do prepare your introduction and also about TCS very well. If you had participated in CodeVita or testimony ,please mention that in your introduction. You should be able to convince the HR about why you want to join TCS. Again, try to be yourself here. If had done the other rounds well, then you are mostly in. Ask 1 or queries about the company or your role when you are given the chance.Before leaving, greet the person who was interviewing you and leave.
Proper aptitude and 2 week’s preparation is enough to get the job via TCS Previous Year Placement Papers, provided you are determined. I felt the first round to be toughest Solve as much as TCS Previous Year Papers that will be very crucial So, prepare well, all the best! for both tcs off campus placement paper and On Campus Paper.
Check this video for the latest TCS Pattern for the year 2018.
TCS Placement Papers 2018 based FAQ’s
What all questions can come in tcs exams??
Prepinsta has provided the most favourable topics that can come in TCS Exams with no of questions to practice every topic and achieve a good score in every exam.
What is the level of difficulty for TCS Previous Question Papers?
Generally in TCS Question Paper from what we have seen that the questions asked in TCS Previous Question Papers are tough and are of high difficulty. We suggest you to do preparation for TCS Exam from PrepInsta’s TCS Placement Papers 2018.
which is the most important section in tcs previous year question paper?
For tcs previous year question paper we will suggest preparing well for the coding section a new Coding section was there in which you could use any language of your choice and last year’s command line programming section has was removed. This year coding will be an important section as TCS looks to higher lesser number of Fresher Graduates via tcs online test papers for Recruitment.
What are some most asked TCS Questions?
For TCS Previous Year Questions here you can find in descending order the list of most asked TCS Questions Click here .
Have a Question?
Ask in the comments section below, we will answer :).
Login with email
Login with email
Register with your
Register with email