C Programming MCQs Set-10

Hello students welcome to CSE Study247 , Today I am provide you C Programming MCQs Set-10.

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, TCS , Railway & another Government Sector)

❤️ TOP 500+ C Programming Question and Answer

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.181 The c notation for the equality test is ?





ANSWER= (B) = =

 

Q.182 The white space characters are ?





ANSWER= (A) Blanks , tabs and new line

 

Q.183 C Language is a successor to which language.?





ANSWER= (B) B Language

 

Q.184 C language was invented in which laboratories ?





ANSWER= (C) AT&T Bell Labs

 

Q.185 C language is used in the development of





ANSWER= (D) All of the above

 

Q.186 Find out the output for the following program

  void main()
  {
  int a,b;
  scanf(“%d%i”,&a,&b);
  printf(“%d%d”,a,b);
  }

  Input 015   15






ANSWER= (B) 1515

 

Q.187 What is an Identifier in C Language ?





ANSWER= (D) All of the above

 

Q.188 The Y.s format specification in print expects the corresponding argument to be a





ANSWER= (A) string

 

Q.189 An Identifier may contain.?





ANSWER= (D) All of these

 

Q.190 Find out the output for the following program

  void main()
  {
  int i;
  for(i=0;i<5;i++)  
  printf(“Hello\n”);
  }






ANSWER= (C) 5

 

Q.191 Find out the output for the following program

  void main()
  {
  int a,b;
  scanf(“%2d%3d”,&a,&b);
  printf(“%d%d”,a,b);
  }

 
input 269 3845






ANSWER= (C) 26   9

 

Q.192 Find out the output for the following program

  void main()
  {
  int a,b;
  scanf(“%3d%1d”,&a,&b);
  printf(“%d%d”,a,b);
  }

 
input 1  2345






ANSWER= (B) 12

 

Q.193 The number of times an external variable can be defined is





ANSWER= (B) exactly once

 

Q.194 An Identifier can start with





ANSWER= (D) Both A & B

 

Q.195 Find an integer constant





ANSWER= (B) 44

 

Q.196 Each statement in a C program should end with ?





ANSWER= (B) Semicolon ;

 

Q.197 The separate files containing external declarations of variables and functions are usually called ?





ANSWER= (D) header files

 

Q.198 The char data types can hold





ANSWER= (D) A single byte

 

Q.199 Choose a correct statement





ANSWER= (C) A & B true

 

Q.200 Find out the output for the following program

  void main()
  {
  int x, y;
 for(x=5;x>=1;x–)
 {
 for(y=1;y<=x;y++)
  printf(“%d\n”,y);
  }
  }






ANSWER= (A) 15

Related MCQ

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

1. Official Telegram Click Here
2. Telegram For CSE MCQs Click Here
3. You TubeClick Here
error: Content is protected !!