C PROGRAMMING MCQ-3

Hello students welcome to CSE Study247

This page provide 20 Multiple choice question with Answer that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview , Railway & another Government Sector)

C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.

C-Programming-MCQ-Multiple-Choice-Questions

C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.

Q.41 By default, a function in the C language returns a value of which type?

  • A) Int
  • B) Char
  • C) Void
  • D) None of these

Q.42 What is the term for a set of instructions provided to a computer system to perform a specific task?

  • A) Program
  • B) Operator
  • C) Hardware
  • D) None of these

Q.43 The '#' sign of a compiler directive (preprocessor) must appear at the ________ of a line.

  • A) Beginning
  • B) Middle
  • C) End
  • D) None of these

Q.44 Which of the following is formulated as a step-by-step logical procedure to solve a problem?

  • A) Flow chart
  • B) Algorithm
  • C) Pseudocode
  • D) None of these

Q.45 Which function is used to release memory that was previously allotted through dynamic memory allocation?

  • A) Malloc ( )
  • B) Free ( )
  • C) Calloc ( )
  • D) None of these

Q.46 The reserved words in the C language that have predefined meanings are called?

  • A) Keyword
  • B) Secure word
  • C) Private word
  • D) None of these

Q.47 Which statement causes a loop to be terminated immediately?

  • A) Exit
  • B) Break
  • C) Default
  • D) None of these

Q.48 In the C language, a character type constant is delimited using which symbols?

  • A) Single quotes
  • B) Double quotes
  • C) Parenthesis
  • D) #

Q.49 Which of the following is a logical operator in C?

  • A) &&
  • B) !=
  • C) I
  • D) All of the above

”Q.50

  • A) ”==”
  • B) ”!=”
  • C) ”–>”
  • D) ”All

Q.51 If 'a' is an integer variable, what will be the value of 'a' after executing 'a = 5 / 2;'?

  • A) 2.5
  • B) 3
  • C) 2

Q.52 What does operator precedence determine in an expression?

  • A) Which operator is evaluated first
  • B) Which operator is more important
  • C) Which operator is faster
  • D) None of these

Q.53 Which of the following statements is FALSE regarding C variable naming rules?

  • A) Capital letters can be used
  • B) Variable names can contain a digit
  • C) Variable names cannot contain a blank space
  • D) Keywords can be used as variable names

Q.54 The two operators '&&' and '||' are categorized as?

  • A) Arithmetic operators
  • B) Equality operators
  • C) Logical operators
  • D) Relational operator

Q.56 In the C language, which of the following operators has the highest precedence?

  • A) + (unary)
  • C) ==
  • D) ”None

Q.57 Which of the following is the correct way to declare a pointer to a float variable?

  • A) Float ptr ;
  • B) Float *ptr ;
  • C) Float ptr ;
  • D) None of these

Q.58 C is generally categorized as which type of programming language?

  • A) Low level
  • B) High Level
  • C) Both Low and High Level
  • D) None of these

Q.59 Which of the following is required to write and run a C program?

  • A) Operating system
  • B) Text editor
  • C) Compiler
  • D) All of above

Q.60 Which organization or committee standardized the 'C' programming language?

  • A) ANSI
  • B) W3C
  • C) ISO
  • D) TRAI

Related MCQ

SETSMCQs VISIT
11 To 20CLICK
221 To 40CLICK
341 To 60CLICK
461 To 80CLICK
581 To100CLICK
6101 To 120CLICK
7121 To 140CLICK
8141 To 160CLICK
9161 To 180CLICK
10181 To 200CLICK

1. Official TelegramClick Here
2. Telegram For CSE MCQsClick Here
3. You TubeClick Here
Scroll to Top