C and C++ Interview Questions and Answers

C and C++ Interview Questions and Answers

C and C++ Interview Questions & Answers

Here are the list of most frequently asked C and C++ Interview Questions & Answers in technical interviews. These questions and answers are suitable for both fresher’s and experienced professionals at any level. These C and C++ Interview Questions and Answers will guide you to clear all Interviews.

Best C and C++ Interview Questions and Answers

C and C++ Interview Questions and Answers for beginners and experts. List of frequently asked C and CPP Interview Questions with answers by Besant Technologies. We hope these interview questions and answers are useful and will help you to get the best job in industry. This C and C++ interview questions and answers are prepared by Professionals based on MNC Companies expectation. Stay tune we will update New C and C++ Interview questions with Answers Frequently.

Best C and C++ Interview Questions & Answers for Job Placements

Besant Technologies supports the students by providing C and C++ interview questions and answers for the job placements and job purposes. We provide the C and C++ online training also for all students around the world through the Gangboard medium. These are top interview questions and answers, prepared by our institute experienced trainers.
Here are the list of most frequently asked C and C++ Interview Questions and Answers in technical interviews. These questions and answers are suitable for both freshers and experienced professionals at any level.

Q1.What are the features in c programming?

Q2.What are the data types in c?

Q3.Types of errors in c?

Q4. What are the Compile Time Errors ?

Q5.What are the Run time errors?

Q6.What is function in c? Types of Functions?

Q7. What is Pre Defined Functions?

Q8. What is User Defined Functions?

Q9. Control Statements or Control Flow ?

Q10. Conditional statements in c ?

Q11. Iterative ( loop) statements in c ?

Q12. Jump statements in c ?

Q13.What is a header file?

Q14.What are the translator in c?

Q15.What is assembler?

Q16.what is compiler?

Q17.what is variable?

Q18.what are the different data types associated with variable ?

Q19.what is variable declaration in c ?

Q20.what are different types of variable?

Q21.Can we declare variable anywhare in c ?

Q22.How many keywords used in c?

Q23.What is register variable in c?

Q24.What is extern in c ?

Q25.What are the token in c program?

Q26.Differnce between declaration and definition?

Q27.Does c have boolean variable type ?

Q28.What are the basic component of IEEE floting point?

Q29.Why we use trigraph character?

Q30.What is keyword?

Q31.What is constant?

Q32.What is a function?

Q33.what are the difffernt types of operatar?

Q34.when is the “void” keyword used in a function?

Q35.what is the significance of an algorithm to c programming?

Q36.What is the use of semicolon?

Q37.the % symbol ha sa special use in a printf statement.how would place this character as a part of output on the scrren?

Q38.It is possible to create your own header file ?

Q39.What is the difference between text file and header file?

Q40.What are the different types of error?

Q41.What is run time error?

Q42.What are logical error and how does it differ from syntax error?

Q43.What are control structures?

Q44.when is a switch statement can be better than an if statement?

Q45.Difference b/w entry controlled and exit controlled loop?

Q46.Difference b/w sentinel control loop and counter control loop?

Q47.What is fall down property?

Q48.What are the jumping statements in c lang.and how these work?

Q49.Can we used continue statement without using loop?

Q50.can goto statements transfer program control from one function to another function?

Q51.what do you mean by array?

Q52. How to creat array?

Q53.Can we change the array size at run time?

Q54.What is the default value of array?

Q55.When you pass array to an function what actually pass?

Q56.what is the return 0 statement in main function indicate?

Q57.Can you return an array in c?

Q58.How does an array work?

Q59.What is array indexing?

Q60.How arrays are different from normal variable?

Q61.What is diamentional array?


  1. Thanks for your advice. It helps us a lot. I will definitely try to apply them in the next protected or unprotected mock. Please keep us updating with your immense knowledge

  2. I’ve been surfing online greater than 3 hours these days, but I by no means discovered any attention-grabbing article like yours. It is beautiful price enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the net will probably be much more useful than ever before. “Nothing will come of nothing.” by William Shakespeare.

  3. Very Interesting and helpful, I have gone through many of your article on Interviews & all the articles are very helpful.

Comments are closed.

Besant Technologies – Chennai & Bangalore Branch Locations

Besant Technologies - Velachery Branch
Plot No. 119, No.8, 11th Main road, Vijaya nagar,
Velachery, Chennai - 600 042
Tamil Nadu, India
Landmark - Reliance Digital Opposite Street
+91-996 252 8294 / 996 252 8293

Besant Technologies - Tambaram Branch
No.2A, 1st Floor, Duraisami Reddy Street,
West Tambaram, Chennai - 600 045
Tamil Nadu, India
Landmark - Near By Passport Seva
+91-970 725 0260

Besant Technologies - OMR Branch
No. 5/318, 2nd Floor, Sri Sowdeswari Nagar,
OMR, Okkiyam Thoraipakkam, Chennai - 600 097
Tamil Nadu, India
Landmark - Behind Okkiyampet Bus Stop,
+91-887 038 4333

Besant Technologies - Porur Branch
No. 180/84, 1st Floor, Karnataka Bank Building
Trunk Road, Porur,
Chennai - 600 116
Tamilnadu, India
Land Mark: Opposite to Gopalakrishna Theatre
+91-755 022 6990

Besant Technologies - Anna Nagar Branch
Plot No:1371, 28th street kambar colony,
I Block, Anna Nagar ,
Chennai - 600 040
Tamil Nadu, India
Landmark - Behind Reliance Fresh
+91-938 404 0493

Besant Technologies - T.Nagar Branch
Old No:146/2- New No: 48,
Habibullah Road,T.Nagar,
Chennai - 600 017
Tamil Nadu, India
Landmark - Opposite to SGS Sabha
+91-984 025 8377

Besant Technologies - Thiruvanmiyur Branch
22/67, 1st Floor,
North mada street, Kamaraj Nagar
Thiruvanmiyur, Chennai 600041
Tamil Nadu, India
Landmark - Above Thiruvanmiyur ICICI Bank
+91-938 404 0493

Besant Technologies - Siruseri Branch
No. 4/76, Ambedkar Street,
OMR Road, Egatoor, Navallur,
Siruseri, Chennai 600130
Tamil Nadu, India
Landmark - Near Navallur Toll Gate, Next to Yamaha Showroom
+91-7338 810 550

Besant Technologies - Maraimalai Nagar Branch
No.37, Ground Floor,
Thiruvalluvar Salai,
Maraimalai Nagar,Chennai 603209
Tamil Nadu, India
Landmark - Near to Maraimalai Nagar Arch
+91-979 123 7373

Besant Technologies - BTM Layout Branch
No 2, Ground floor,
29th Main Road, Kuvempu Nagar,BTM Layout 2nd Coming from Silkboard, take left at AXA company signal,
Stage, Bangalore - 560 076
Karnataka, India
Landmark - Next to OI Play School
+91-762 494 1772 / 74

Besant Technologies - Marathahalli Branch
No. 43/2, 2nd Floor, VMR Arcade,
Varthur Main Road, Silver Springs Layout,
Munnekollal, Marathahalli, Bengaluru - 560037
Karnataka, India
Landmark - Near Kundalahalli Gate Signal
+91-910 812 6341

Besant Technologies - Rajaji Nagar Branch
No. 309/43, JRS Ecstasy, First Floor,
59th Cross, 3rd Block, Bashyam Circle,
Rajaji Nagar, Bangalore - 560 010
Karnataka, India
Landmark - Near Bashyam Circle
+91- 734 916 0004

Besant Technologies - Jaya Nagar Branch
No. 2nd Floor,1575,11th Main Road,
4th T-Block, Pattabhirama Nagar, Jaya Nagar,
karnataka, India
Land Mark: Opposite to Shanthi Nursing Home
+91-733 783 7626

Besant Technologies - Kalyan Nagar Branch
No.513, 4th Cross Rd
2nd Block, HRBR Layout, Kalyan Nagar,
karnataka, India
Land Mark: Opposite to kalayan nagar Axis Bank
+91-938 404 0495

Besant Technologies - Electronic City Branch
No. 7, 3rd Floor, Ganga Enclave,
Neeladri Road, Karuna Nagar, Doddathoguru Village,
Electronics City Phase 1, Electronic City,
Bangalore - 560100, karnataka, India
Land Mark: Adjacent to HDFC Bank and State Bank Of India
+91-782 392 2180

Besant Technologies - Indira Nagar Branch
No.54, 1st Floor,
5th Main kodihalli,
Bengaluru, Karnataka 560008, India
Landmark: Behind Leela Palace Hotel,
+91-910 812 6339

Besant Technologies - HSR Layout Branch
Plot No. 2799 & 2800, 27th Main,
1st Sector, HSR Layout,
Bengaluru, Karnataka 560102, India
+91-733 783 7626

Besant Technologies - Hebbal Branch
No.29, 2nd Floor, SN Complex,
14th Main Road, E-Block Extention, Sahakara Nagar,
Bengaluru, Karnataka -560092, India
+91-938 404 0496