C PROGRAMMING MCQ SET-1

Hello students welcome to CSE Study247

This page provides C PROGRAMMING MCQ SET-1 that is very useful for Computer science students for preparation for many exams Like ( ISRO, DRDO,Semester, Interview, Railway & other Government Sectors)

C PROGRAMMING MCQ SET-1

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

C PROGRAMMING MCQ SET-1

Q.1 Who is the father of C language?

  • A) Dennis Ritchie
  • B) Charles Babbage
  • C) Robert
  • D) None of these

Q.2 In which year was the C language developed?

  • A) 1979
  • B) 1972
  • C) 1919
  • D) 1979

Q.3 What does the prototype of a function mean?

  • A) Name of the function
  • B) Declaration of function
  • C) Parameter of function
  • D) All

Q.4 Which of the following is a keyword in C?

  • A) short
  • B) long
  • C) extern
  • D) All of these

Q.5 What is the memory size of the integer data type (in 16-bit systems)?

  • A) 1 byte
  • B) 2 byte
  • C) 3 byte
  • D) None of these

Q.6 What is the format specifier for the integer data type?

  • A) %f
  • B) %lf
  • C) %d
  • D) None of these

Q.7 What is the decimal range of a 16-bit signed integer?

  • A) -32768 to 32767
  • B) -128 to 127
  • C) 32768 to -32767
  • D) None of these

Q.8 What is the range of an unsigned integer data type?

  • A) -32768 to 32767
  • B) -128 to 127
  • C) 32768 to -32767
  • D) 0 to 65535

Q.9 What is the memory size of the char data type?

  • A) 1 byte
  • B) 3 byte
  • C) 2 byte
  • D) None of these

Q.10 1 Byte is equal to how many bits?

  • A) 16 bit
  • B) 8 bit
  • C) 2 bit
  • D) None of these

Q.11 Which of the following is a correct comment syntax in C?

  • A) */ comment */
  • B) comment
  • C) / comment /
  • D) None of these

Q.12 Which of the following is a valid C keyword?

  • A) short
  • B) longt
  • C) singd
  • D) None of these

Q.13 Any Program can be defined as an?

  • A) Algorithm
  • B) Process
  • C) Function
  • D) None of these

Q.14 C is generally considered a?

  • A) Low level language
  • B) High level language
  • C) Middle level language
  • D) None of these

Q.15 What is the format specifier for the float data type?

  • A) %d
  • B) %f
  • C) %lf
  • D) None of these

Q.16 The keyword 'else' is used with which statement?

  • A) while
  • B) do
  • C) if
  • D) None of these

Q.17 Which of the following is a unary arithmetic operator action?

  • A) Increment
  • B) Decrement
  • C) Both
  • D) None of these

Q.18 What is the primary role of a Compiler?

  • A) HLL TO LLL
  • B) HLL TO machine
  • C) LLL TO HLL
  • D) None of these

Q.19 What is the primary role of an Interpreter?

  • A) HLL TO LLL
  • B) HLL TO machine
  • C) LLL TO HLL
  • D) None of these

Q.20 The printf() function is defined in which header file?

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

Related C PROGRAMMING MCQs

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