Objective type questions and answers in c programming pdf

Posted on Thursday, April 29, 2021 1:07:33 AM Posted by Srirevorsmog - 29.04.2021 and pdf, english pdf 5 Comments

objective type questions and answers in c programming pdf

File Name: objective type questions and answers in c programming .zip

Size: 1908Kb

Published: 29.04.2021

View Answer Comment. Logical NOT. They compare two boolean values. Current Affairs PDF. Daily Current Affairs February

C language MCQ

Which of the following language is the predecessor to C Programming Language? C language is available for which of the following Operating Systems? Which of the following symbol is used to denote a pre-processor statement? Which of the following are tokens in C? What is the valid range of numbers for int type of data? Which symbol is used as a statement terminator in C? Which escape character can be used to begin a new line in C? Which escape character can be used to beep from speaker in C?

Which of the following is invalid? What will be the maximum size of a float variable? What will be the maximum size of a double variable? The size of a String variable is a 1 byte b 8 bytes c 16 bytes d None of these Ans: d.

Which of the following is an example of compounded assignment statement? Operators have hierarchy. It is useful to know which operator a is most important b is used first c is faster d operates on large numbers Ans: b. The bitwise OR operator is used to a set the desired bits to 1 b set the desired bits to 0 c divide numbers d multiply numbers Ans: a.

Which of the following operator has the highest precedence? The associativity of! Which operator has the lowest priority? Which operator has the highest priority? Operators have precedence. Precedence determines which operator is a faster b takes less memory c evaluated first d takes no arguments Ans: c.

Integer Division results in a Rounding the fractional part b Truncating the fractional part c Floating value d An Error is generated Ans: b. Which of the following is a ternary operator? Which of the following statements is true? The printf function retunes which value when an error occurs? Symbolic constants can be defined using a define b const c symbols d None of these Ans: b.

Which header file is essential for using strcmp function? File manipulation functions in C are available in which header file? C supports how many basic looping constructs a 2 b 3 c 4 d 6 Ans: b. A statement differs from expression by terminating with a a ; b : c NULL d. Ans: a. Which among the following is an unconditional control structure a do-while b if-else c goto d for Ans: c. Continue statement is used a to go to the next iteration in a loop b come out of a loop c exit and return to the main function d restarts iterations from the beginning of the loop Ans: a.

Which operator in C is called a ternary operator a if.. Which of the following header file is required for strcpy function? The meaning of conversion character for data input is a Data item is a long integer b Data item is an unsigned decimal integer c Data item is a short integer d None of the above Ans: c. The conversion characters for data input means that the data item is a An unsigned decimal integer b A short integer c A hexadecimal integer d A string followed by white space Ans: b.

An expression contains relational, assign. If Parenthesis are not present, the order will be a Assignment, arithmetic, relational b Relational, arithmetic, assignment c Assignment, relational, arithmetic d Arithmetic, relational, assignment Ans: d. Which of the following is a keyword is used for a storage class a printf b external c auto d scanf Ans: c.

A Link is a a compiler b an active debugger c a C interpreter d an analyzing tool in C Ans: d. The continue command cannot be used with a for b switch c do d while Ans: a. In C, a Union is a memory location b memory store c memory screen d None of these Ans: b. A multidimensional array can be expressed in terms of a array of pointers rather than as pointers to a group of a contiguous array b array without the group of a contiguous array c data type arrays d None of these Ans: a.

C allows arrays of greater than two dimensions, who will determine this a programmer b compiler c parameter d None of these Ans: b. A pointer to a pointer is a form of a multiple indirections b a chain of pointers c both a and b d None of these Ans: c. Pointers are of a integer data type b character data type c unsigned integer data types d None of these Ans: d. Maximum number of elements in the array declaration int a[5][8] is a 28 b 32 c 35 d 40 Ans: d. If the size of the array is less than the number of initializers then, a Extra values are being ignored b Generates an error message c Size of Array is increased d Size is neglected when values are given Ans: a.

Array subscripts in C always start at a -1 b 1 c 0 d Value provided by the user Ans: c. A Structure a can be read as a single entity b cannot be read as a single entity c can be displayed as a single entity d has member variables that cannot be read individually Ans: b. Which is the correct way to declare a pointer? Ans: b. If you want to exchange two rows in a two-dimensional array, the fastest way is to: a Exchange the elements of the 2rows b Exchange the address of each element in the two-row c Silence the address of the rows in an array of the pointer and exchange the pointer d None of these.

Ans: c. A typecast is used to a Define a new data type b Force a value to be a particular variable type c Rename an old type d None of these. Operator precedence determines which operator a Operators on the largest number b Is used first c Is most important d None of these. Which is more appropriate for reading in a multi-word string?

The process of translating a source program into machine language is a function of: a Compiler b Translator c Assembler d None of these. Function argument can be a A structure member b A pointer variable c A complete structure d All of the above.

Ans: d. Computer Architecture MCQs with answers pdf. Thanks for reading our blogs, multiple choice questions in C programming pdf, if you like please share on social media. Your email address will not be published. This site uses Akismet to reduce spam. Learn how your comment data is processed. Please Share on Social Media. Leave a Reply Cancel reply Your email address will not be published. Login ID. Remember Me. Forgot Password? Login Sign Up. Remember me Forgot Password? Subscribe to our newsletter.

I accept the Terms of Service and Privacy Policy.

100 Multiple Choice Questions in C programming pdf

C Proramming MCQ : C is still the popular programming language and is favorite topics to test knowledge of a candidate on knowledge of programming concept. Please find the selected list of important mcq questions on C Programming Language with answer. Here you will find a list of common important questions on c programming language in MCQ quiz style with answer for competitive exams and interviews. These frequently asked sample questions on C Language are given with correct choice of answer that you can check instantly. Presently we have added total 2 sets of questions on c programming language for you to practice. We will keep adding more questions and provide this question bank in PDF format, so that you can download them instantly in E-book style.

C Multiple Choice Questions and answers MCQ with Ans. 1. Who is father of C Language? A. Bjarne Stroustrup. B. Dennis Ritchie. C. James A. Gosling.

Download C++ MCQ Questions [PDF]

You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz. If assigned with a value the sequence continues from the assigned value.


There are actually two ways you can do this. Likewise, the statement "x --" means to decrement the value of x by 1. When using Call by Value, you are sending the value of a variable as parameter to a function, whereas Call by Reference sends the address of the variable. Also, under Call by Value, the value in the parameter is not affected by whatever operation that takes place, while in the case of Call by Reference, values can be affected by the process within the function. How does this aid in debugging?


  • In this C Multiple Choice Questions and Answers section you can learn and practice C Multiple Choice Questions and Answers to improve your skills in order to face technical inerview conducted by Banks. Ticiana C. - 30.04.2021 at 19:54
  • Which of the following language is the predecessor to C Programming Language? Lydia C. - 01.05.2021 at 17:27
  • C Programming Mcq Online Test. Gate entrance exams C language model questions and answers pdf free download for freshers and experienced tutorials​. Ssetintheba1975 - 03.05.2021 at 14:11
  • Of honour and iron w40k pdf evidence based medicine pdf free download Teodorico C. - 07.05.2021 at 07:30
  • English essays for class 10 pdf shadows for silence in the forests of hell pdf Spiro S. - 08.05.2021 at 23:46