C Programming MCQs Solved SET-5

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

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-5


Question 41-50

Question : 41

main() {
Int a=3, b=2, c*d*e;
d=&a; e=&b;
c=*d+*e;
}
Out of four given options which one of the following is correct?

[A].   a=4, c-6
[B].   a=3, c=5
[C].   a=3, c=6
[D].   a=3, c=8


Question : 42

What will be output of the following program? #include int main() {int a=2, b=7, c=10; c=a==b; printf(“%d”,c); return 0;}

[A].   0
[B].   7
[C].   10
[D].   2


Question : 43

An integer constant in C must have

[A].   At least one digit
[B].   At least one decimal point
[C].   A comma along with digits
[D].   Digits separated by commas


Question : 44

Following program fragment. main(){ printf(“%pn”, main( ) ); }

[A].   Prints the address of main function
[B].   Prints 0
[C].   Is an error
[D].   In an infinite loop


Question : 45

Hierarchy decides which operator

[A].   is the most important
[B].   is used first
[C].   is the fastest
[D].   Operates on largest numbers


Question : 46

What will be output of the following C program? #include int xyz=10; int main() { int xyz=20; printf(“%d”, xyz); return 0;}

[A].   10
[B].   20
[C].   30
[D].   compilation error


Question : 47

A function popularly used C input function

[A].   scanf
[B].   printf
[C].   getch
[D].   Char


Question : 48

Output of the following C program fragment is. x=5; y=x++; printf(“%d %d”, x,y);

[A].   5, 6
[B].   5, 5
[C].   6, 5
[D].   6, 6


Question : 49

Explicit type conversion is known as ………………..

[A].   casting
[B].   conversion
[C].   disjunction
[D].   separation


Question : 50

What will be output of the following C program? #include int main() {int goto=5; printf(“%d”,goto); return 0;}

[A].   5
[B].   10
[C].   **
[D].   compilation error





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.

No comments:

Post a Comment