C Programming MCQs Solved SET-8

C programming language MCQs - Questions and Answers | SET-8

Important C programming language (MCQ)
Solved Questions and Answers

Welcome to our exclusive collections of C programming language (MCQ) Questions and with answers. C is popular programming language and is best language to test knowledge of candidate and aspirants.You can find here MCQ sets of imprtant c programming language. These MCQs questions are very helpful for those candidates ans aspirants who are preparing for the various government and non government exam as well as in interview.

C programming language MCQs - Questions and Answers | SET-8


Question 71-80

Question : 71

A preprocessor directive is always preceded by a symbol

[A].   *
[B].   //
[C].   #
[D].   %


Question : 72

Which one is a collection of one or more variables, possibly of different types, grouped together under a single name for convenient handling

[A].   Pointer
[B].   Matrix
[C].   Array
[D].   Structure


Question : 73

Which header file is used for dynamic memory allocation in C

[A].   math.h
[B].   stdio.h
[C].   conio.h
[D].   stdlib.h


Question : 74

Which of the following function gives the current position in the file

[A].   putw()
[B].   ftell()
[C].   fseek()
[D].   getw()


Question : 75

______ is an example of compile time polymorphism

[A].   Virtual function
[B].   Member function
[C].   Function overloading
[D].   Friend function


Question : 76

Which of the following function is used for sets the position to the beginning of the file

[A].   putw()
[B].   getw()
[C].   setw()
[D].   rewind()


Question : 77

The following statement in C language : int **a ;

[A].   is illegal
[B].   is legal but meaningless
[C].   syntactically and semantically is correct
[D].   none of these


Question : 78

Which of the following function is used for sets the position to a desired point in the file

[A].   putc()
[B].   putw()
[C].   fseek()
[D].   getw()


Question : 79

In C language a << 1 is equivalent to

[A].   multiplying a by 2
[B].   dividing a by 2
[C].   adding 2 to a
[D].   none of these


Question : 80

A bit field is a set of adjacent bits whose size can be from _________ bits in length

[A].   1 to 8
[B].   1 to 12
[C].   1 to 14
[D].   1 to 16





To Read Next Set
Click on below links



Please Read These Useful Post Also
कृपया इन्हें भी पढ़ें


MCQs Practice Sets for Sure Success in all competitive exams



Collections of Microsoft Access Database (MCQs) Questions and with answers. All questions are of multiple choice type.These MCQs are helpful in preparing exam like TET, CTET, Bank Clerical, BANK PO, AIPMT, PMT, Police exams ,army exams , CLAT, CMAT, CSIR, CTET, GATE, GMAT, General GRE, IAS, ICSE CDSE , SBI Clerk , SBIPO, PO, RRB , IELTS, IES, IEcoS, IFS, IGS, ISS, JEE, JEE Advanced, KVPY, LSAT, NDA, NEET, NEET PG, NEST, NSTSE, NTSE, Olympaid, PLAB, SAT, SSC CGL, GRE, TOEFL, UCO, UGC, USMLE, XAT, IBPS PO , PSc, State PSC, Patwari, Samvida, Teacher recruitment test, UPSC, SSC, CGL, SI, CTET, TET, CDS, MAT , SSC 10+2 , CLAT , NIFT , SBI , IBPS Clerk, Vyapam etc

If you are planning to qualify teacher eligibility test, TET, CTET, all India state TET, JEE Main, NEET UG, AIPMT, AIIMS, AFMC, DPMT, BHU, IP MBBS, JIPMER, State PMT, MHT , you can practice these question papers online. We have taken all the necessary care to provide you with genuine question papers and the answers from reliable sources. Hope our labors server student’s community in better way.

Visit  http://examsuccessmaster.blogspot.com/  for a complete list of exam quizzes e.g. Child development, Psychlogy, Inclusive Education, Social Studies, physics || general science MCQ, Himachal pradesh Gk, chemistry, physics, Mathematics, math, General science, computer basics, old question papers, environmental studies,Geography, Polity Social Issue, Social Science complete study material,aptitude tests, Practice sets,HPTET,Engineering Interview, Civil Engineering, Mechanical Engineering, Electrical Engineering, most frequently asked,tests,HPTET Questions and Answers, Engineering Multiple choice, MCQ Questions on various subjects and topics and much more.

C Programming MCQs Solved SET-7

C programming language MCQs - Questions and Answers | SET-7

Important C programming language (MCQ)
Solved Questions and Answers

Welcome to our exclusive collections of C programming language (MCQ) Questions and with answers. C is popular programming language and is best language to test knowledge of candidate and aspirants.You can find here MCQ sets of imprtant c programming language. These MCQs questions are very helpful for those candidates ans aspirants who are preparing for the various government and non government exam as well as in interview.

C programming language MCQs - Questions and Answers | SET-7


Question 61-70

Question : 61

C was developed in the year …………………

[A].   Between 1969 to 1973
[B].   Between 1970 to 1974
[C].   Between 1965 to 1969
[D].   Between 1973 to 1979


Question : 62

If a=8 and b=15 then the statement x=(a>b) ? a:b;

[A].   assigns a value 8 to x
[B].   gives an error message
[C].   assigns a value 15 to x
[D].   assigns a value 7 to x


Question : 63

Which of the following are tokens in C?

[A].   Keywords
[B].   Variables
[C].   Constraints
[D].   All of the above


Question : 64

How many times the following loop be executed? { .. ch=’b’; while (ch>=’a’ && ch<==’z’) ch++; }

[A].   0
[B].   25
[C].   26
[D].   1


Question : 65

C language is available for which of the following operating systems?

[A].   DOS
[B].   Windows
[C].   Unix
[D].   All of the above


Question : 66

In C, if you pass an array as an argument to a function, what actually gets passed?

[A].   Value of elements in array
[B].   First element of the array
[C].   Base address of the array
[D].   Address of the last element of array


Question : 67

What does the following declaration mean? int(*ptr)[10].

[A].   ptr is an array of pointers to 10 integers.
[B].   ptr is a pointer to an array of 10 integers
[C].   ptr is an array of 10 integers
[D].   ptr is a pointer to an array


Question : 68

If the size of the array is less than the number of initializes 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


Question : 69

What is the purpose of fflush() function?

[A].   flushes all streams and specified streams
[B].   flushes the only specified stream
[C].   flushes input/output buffer
[D].   flushes file buffer


Question : 70

Which symbol is used as a statement terminator in C?

[A].   !
[B].   ~
[C].   #
[D].   ;





To Read Next Set
Click on below links



Please Read These Useful Post Also
कृपया इन्हें भी पढ़ें


MCQs Practice Sets for Sure Success in all competitive exams



Collections of Microsoft Access Database (MCQs) Questions and with answers. All questions are of multiple choice type.These MCQs are helpful in preparing exam like TET, CTET, Bank Clerical, BANK PO, AIPMT, PMT, Police exams ,army exams , CLAT, CMAT, CSIR, CTET, GATE, GMAT, General GRE, IAS, ICSE CDSE , SBI Clerk , SBIPO, PO, RRB , IELTS, IES, IEcoS, IFS, IGS, ISS, JEE, JEE Advanced, KVPY, LSAT, NDA, NEET, NEET PG, NEST, NSTSE, NTSE, Olympaid, PLAB, SAT, SSC CGL, GRE, TOEFL, UCO, UGC, USMLE, XAT, IBPS PO , PSc, State PSC, Patwari, Samvida, Teacher recruitment test, UPSC, SSC, CGL, SI, CTET, TET, CDS, MAT , SSC 10+2 , CLAT , NIFT , SBI , IBPS Clerk, Vyapam etc

If you are planning to qualify teacher eligibility test, TET, CTET, all India state TET, JEE Main, NEET UG, AIPMT, AIIMS, AFMC, DPMT, BHU, IP MBBS, JIPMER, State PMT, MHT , you can practice these question papers online. We have taken all the necessary care to provide you with genuine question papers and the answers from reliable sources. Hope our labors server student’s community in better way.

Visit  http://examsuccessmaster.blogspot.com/  for a complete list of exam quizzes e.g. Child development, Psychlogy, Inclusive Education, Social Studies, physics || general science MCQ, Himachal pradesh Gk, chemistry, physics, Mathematics, math, General science, computer basics, old question papers, environmental studies,Geography, Polity Social Issue, Social Science complete study material,aptitude tests, Practice sets,HPTET,Engineering Interview, Civil Engineering, Mechanical Engineering, Electrical Engineering, most frequently asked,tests,HPTET Questions and Answers, Engineering Multiple choice, MCQ Questions on various subjects and topics and much more.

C Programming MCQs Solved SET-6

C programming language MCQs - Questions and Answers | SET-6

Important C programming language (MCQ)
Solved Questions and Answers

Welcome to our exclusive collections of C programming language (MCQ) Questions and with answers. C is popular programming language and is best language to test knowledge of candidate and aspirants.You can find here MCQ sets of imprtant c programming language. These MCQs questions are very helpful for those candidates ans aspirants who are preparing for the various government and non government exam as well as in interview.

C programming language MCQs - Questions and Answers | SET-6


Question 51-60

Question : 51

A compiler …………….

[A].   is a computer program
[B].   translates a high-level language into machine language
[C].   is a part of the software
[D].   editor


Question : 52

Which of the following is the correct usage of conditional operators used in C?

[A].   a>b?c=30:c=40;
[B].   a>b?c=30;
[C].   max=a>b?a>c?a:c:b>c?b:c
[D].   return (a>b)?(a:b)


Question : 53

File manipulation functions in C are available in which header file?

[A].   streams.h
[B].   stdio.h
[C].   stdlib.h
[D].   files


Question : 54

How many times the following program would print (“abc”)? main( ) { printf(“nabc”); main( ); }

[A].   Infinite number of times
[B].   32767 times
[C].   65535 times
[D].   Till the stack does not overflow


Question : 55

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 iteration from beginning of loop


Question : 56

The output of the following is . int a=75; printf(“%d%%”, a);

[A].   75
[B].   75%%
[C].   75%
[D].   None of the above


Question : 57

Which of the following is a keyword is used for storage class?

[A].   printf
[B].   external
[C].   auto
[D].   scanf


Question : 58

A C program contains the following declaration int i=8, j=5 what would be the value of following expression? abs(i-2*j)

[A].   2
[B].   4
[C].   6
[D].   8


Question : 59

Which escape character can be used to beep from the speaker in C?

[A].   a
[B].   b
[C].   m
[D].   n


Question : 60

What is the output of the following code. int n=0, m=1; do { printf(“%d”, m); m++; } while (m<=n);

[A].   0
[B].   2
[C].   1
[D].   4





To Read Next Set
Click on below links



Please Read These Useful Post Also
कृपया इन्हें भी पढ़ें


MCQs Practice Sets for Sure Success in all competitive exams



Collections of Microsoft Access Database (MCQs) Questions and with answers. All questions are of multiple choice type.These MCQs are helpful in preparing exam like TET, CTET, Bank Clerical, BANK PO, AIPMT, PMT, Police exams ,army exams , CLAT, CMAT, CSIR, CTET, GATE, GMAT, General GRE, IAS, ICSE CDSE , SBI Clerk , SBIPO, PO, RRB , IELTS, IES, IEcoS, IFS, IGS, ISS, JEE, JEE Advanced, KVPY, LSAT, NDA, NEET, NEET PG, NEST, NSTSE, NTSE, Olympaid, PLAB, SAT, SSC CGL, GRE, TOEFL, UCO, UGC, USMLE, XAT, IBPS PO , PSc, State PSC, Patwari, Samvida, Teacher recruitment test, UPSC, SSC, CGL, SI, CTET, TET, CDS, MAT , SSC 10+2 , CLAT , NIFT , SBI , IBPS Clerk, Vyapam etc

If you are planning to qualify teacher eligibility test, TET, CTET, all India state TET, JEE Main, NEET UG, AIPMT, AIIMS, AFMC, DPMT, BHU, IP MBBS, JIPMER, State PMT, MHT , you can practice these question papers online. We have taken all the necessary care to provide you with genuine question papers and the answers from reliable sources. Hope our labors server student’s community in better way.

Visit  http://examsuccessmaster.blogspot.com/  for a complete list of exam quizzes e.g. Child development, Psychlogy, Inclusive Education, Social Studies, physics || general science MCQ, Himachal pradesh Gk, chemistry, physics, Mathematics, math, General science, computer basics, old question papers, environmental studies,Geography, Polity Social Issue, Social Science complete study material,aptitude tests, Practice sets,HPTET,Engineering Interview, Civil Engineering, Mechanical Engineering, Electrical Engineering, most frequently asked,tests,HPTET Questions and Answers, Engineering Multiple choice, MCQ Questions on various subjects and topics and much more.