C PROGRAMMING MCQs-4

Hello students welcome to CSE Study247

This page provide C PROGRAMMING MCQs-4 (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.61 Every c program consists of ------- function?

  • A) only two
  • B) only one
  • C) one or many
  • D) None of these

Q.62 C compiler traps

  • A) Logical errors
  • B) Syntax errors
  • C) Both A & B
  • D) None of these

Q.63 Which of the following is related to machine language ?

  • A) Difficult to learn
  • B) Machine dependent
  • C) First generation language
  • D) All of these

Q.64 A program that converts a high level language program to a set of instructions that can run on a computer is called a :

  • A) Compiler
  • B) Debugger
  • C) Editor
  • D) None of the above

Q.65 Which of the following is logical AND operator?

  • A) !
  • B) &&
  • C) ||
  • D) None of the above

Q.66 ASCII value of A is

  • A) 48
  • B) 97
  • C) 32
  • D) None of the above

Q.67 The errors that can be pointed out by the compiler are :

  • A) Syntax errors
  • B) Semantic errors
  • C) Logical errors
  • D) None of the above

Q.68 The sign ‘#’ of the compiler directive must appear at the ______ of a line

  • A) Beginning
  • B) Middle
  • C) End
  • D) None of the above

Q.69 Printf() and scanf() function define in which header file?

  • A) conio.h
  • B) stdio.h
  • C) math.h
  • D) None of the above

Q.70 Strlen() function define in which header file?

  • A) conio.h
  • B) stdio.h
  • C) string.h
  • D) None of the above

Q.71 Which committee standardize ‘C’ programming language?

  • A) ANSI
  • B) ISO
  • C) W3C
  • D) None of the above

Q.72 Which header file is designed for basic mathematical operations ?

  • A) Math.h
  • B) Stdio.h
  • C) Conio.h
  • D) None of the above

Q.73 EXP() function define in which header file?

  • A) Math.h
  • B) Stdio.h
  • C) Conio.h
  • D) None of the above

Q.74 log() function define in which header file?

  • A) Math.h
  • B) Stdio.h
  • C) Conio.h
  • D) None of the above

Q.75 SQRT () function define in which header file?

  • A) Math.h
  • B) Stdio.h
  • C) Conio.h
  • D) None of the above

Q.76 asin() function define in which header file?

  • A) Math.h
  • B) Stdio.h
  • C) Conio.h
  • D) None of the above

Q.77 Such a variable which define outside the main() is called

  • A) main()
  • B) gobal variable
  • C) local variable
  • D) None of the above

Q.78 Such a variable which define inside the main() is called

  • A) main()
  • B) gobal variable
  • C) local variable
  • D) None of the above

Q.79 Which header file should be included to use function like malloc(), calloc()?

  • A) stdlib.h
  • B) string.h
  • C) memory.h
  • D) dos.h

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

Scroll to Top