

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Objective questions and answers related to the c programming language. The questions cover various topics such as function returns, pointers, relational operators, and member functions. Students and professionals can use this document to test their knowledge and prepare for exams or interviews.
Typology: Exercises
1 / 3
This page cannot be seen from the preview
Don't miss anything!
C Programming Objective Questions & Answers Pdf Question: 1 How many values can be returned from a function? (A) 1 (B) 2 (C) 3 (D) 4 Ans: A 1 Question: 2 A pointer is (A) data type of an address variable (B) a variable for storing address (C) indication of the variable to be accessed next (D) address of a variable Ans: B a variable for storing address Question: 3
A relational operator (A) assigns operand to another (B) yields a Boolean result (C) logically combines two operands (D) compares two operands Ans: D compares two operands Question: 4 In C++, a function contained within a class is called (A) a method (B) a class function (C) member function (D) none of these Ans: C member function Question: 5 An array element is accessed using (A) member name (B) an index number