• الصفحة الرئيسية
  • إتصل بنا
  • سياسة الخصوصية
Logo
  • الرئيسية
  • أفكار
  • صحة
  • معلومات
  • عجائب وغرائب
  • تكنولوجيا
الصفحة الرئيسية C Multiple Choice Question (MCQ) Interview Questions on Fundamental of C Language set-8

Interview Questions on Fundamental of C Language set-8

الكاتب ahmed في 9:30 PM C Multiple Choice Question (MCQ)

1) The control automatically passes the first statement after the loop in ..

A. Continue statement

B. Break statement

C. Switch statement

D. If statement


2) Which of the following is a scalar data type?

A. Float

B. Union

C. Array

D. Pointer


3) The given FOR loop is ..

for( ; ; ) { printf(" "); }

A. valid

B. invalid

C. indefinite

D. displays runtime error


4) In C, a union is ......

A. memory location

B. memory store

C. memory screen

D. memory space


5) The ......... statement causes immediate exit from the loop overriding the condition test ..

A. Exit

B. Break

C. Goto

D. None of the above


6) Pointers are of ..........

A. integer data type

B. character data type

C. unsigned integer data type

D. None of these


7) The keyword used to transfer control from a function back to the calling function is ...

A. switch

B. goto

C. go back

D. return


8) Identify the invalid pointer arithmetic ......

A. addition of float value to a pointer

B. comparison of pointers that do not point to the element of the same array

C. subtracting an integer from a pointer

D. assigning the value 0 to a pointer variable


9) 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


10) Header file in C contain ......

A. compiler commands

B. library functions

C. header information of C programs

D. operators for files

11) Which of the following cannot be checked in a switch-case statement?

A. Character

B. Integer

C. Float

D. Enum


12) The printf() function returns which value when an error occurs?

A. Positive value

B. zero

C. Negative value

D. None of these


13) When array elements are passed to a function with their values, it is called as ...

A. end value

B. call by value

C. return value

D. first value


14) Which of the following is character oriented console I/O function?

A. getchar() and putchar()

B. gets() and puts()

C. scanf() and printf()

D. fgets() and fputs()


15) In the for loop structure there are .......... optional clauses.

A. one

B. two

C. three

D. four


16) Which header file is essential for using strcmp() function?

A. string.h

B. strings.h

C. text.h

D. strcmp.h


17) A multidimensional array can be expressed in terms of ...........

A. array of pointers rather than as pointers to a group of contiguous array

B. array without the group of contiguous array

C. data type arrays

D. qualifies of data types


18) The real constant in C can be expressed in which of the following forms?

A. fractional form only

B. exponential form only

C. ASCI form only

D. Both fractional and exponential forms


19) A structure ...

A. can be read as a single entity

B. cannot be read as a single entity

C. can be displayed as a single entity

D. has member variables that cannot be read individually


20) What will the function randomize() do?

A. returns a random number

B. returns a random number generator in the specified range

C. returns a random number generator with a random value based on time

D. return a random number with a given seed value


Answers:

1) B. Break statement
2) A. Float
3) D. displays runtime error
4) C. memory screen
5) B. Break
6) D. None of these
7) D. return
8) D. assigning the value 0 to a pointer variable
9) C. Base address of the array
10) B. library functions
11) C. Float
12) C. Negative value
13) B. call by value
14) A. getchar() and putchar()
15) C. three
16) A. string.h
17) A. array of pointers rather than as pointers to a group of contiguous array
18) D. Both fractional and exponential forms
19) A. can be read as a single entity
20) C. returns a random number generator with a random value based on time


Related Posts


  • Solved MCQ of C set-1

  • Objective Questions of C with answer set-2

  • Solved MCQ of Programming in C set-3

  • MCQ on C Programming With Answers set-4

  • Solved MCQ on C Programming Language set-5

  • objective type questions in c programming language set-6

  • Solved MCQ on Fundamental of C Language set-7

شارك المقال :
Tweet
✚

مقالات ذات صلة

التالي
المشاركةالتالية
السابق
المشاركة السابقة

تحويل كودإخفاء محول الأكواد الإبتساماتإخفاء

شكرا لمشاركتنا رأيك
Subscribe to: Post Comments (Atom)
  • Facebook
  • twitter
  • googleplus
  • youtube
  • linkedin

الأكثر زيارة

  • Solved MCQ on Database Backup and Recovery in DBMS set-1
    1) Which of the following is not a recovery technique? A. Deferred update B. Immediate update C. Two-phase commit D. Recovery management 2)C...
  • 8 طرق طبيعية فعالة لعلاج حب الشباب
    حب الشباب يعد من اكثر الاشياء المزعجة التي يعاني منها الكثير من الناس  وفي هذا الموضوع سنتناول افضل الطرق الطبيعية للتخلص من حب ...
  • Best 10 ways of making money online
    Best 10 ways of making money online
    Making money online is not easy task if you don't know about the best and easy ways for that. Since, Internet is itself a virtual world,...
  • Top 10 List Of Stock Photography Sites To Earn Online
    I have already posted that, through stock photography sites you can earn online by sharing your original stocked photographs. You should po...
  • What are the different types of scheduling methods?
    Process scheduling is one way for a processor to handle n processes , by scheduling the execution process. Each process is executed one by ...
  • List of sites to create shortcut URL for your bog or site
    V3.com URL Forwarding: url or domain forwarding (also called 'redirect') transfers your traffic from your V3 Sub Domain to another ...
  • SQL MCQ Interview Questions With Answers set-3
    1. In SQL , which command is used to remove a stored function from the database? Cover of SQL Server magazine (Photo credit: Wikipedia ) A) ...
  • How to Create Oracle Forms by Using Wizard ?
    How to Create Oracle Forms by Using Wizard ?
    Oracle Forms is a technology developed by Oracle to develop database driven web applications quickly and easily. It is a component of Oracle...
  • Solved MCQ on Physical Layer in OSI Reference Model set-1
    1) Which of the following is/are the applications of twisted pair cables ...... A. In the local loop B. In the DSL line C. In the ISDN Netwo...
  • MCQ on c++ Programming with Answers set-6
    1. If a class C is derived from class B, which is derived from class A, all through public inheritance, then a class C member function can a...

الأقسام

  • Artificial Intelligence(AI)
  • Backlinking
  • Basic IT
  • Best List
  • Blogging Tips
  • C
  • C#
  • C++
  • Computer Architecture
  • Computer Fundamental
  • Computer Security
  • Computer/IT Officer Exam
  • CSS
  • Data Mining and Warehousing
  • Data Recovery Tools
  • Data Structure
  • Database Management System
  • E-commerce
  • E-government
  • Internet & Web Designing
  • IT Law
  • IT Tips and Tricks
  • IT Tutorials
  • Java
  • JavaScript
  • Keyword Research Tools
  • MIS
  • Multiple Choice Question (MCQ)
  • Networking
  • Online Earning
  • Online IT Jobs
  • Operating System
  • Oracle Forms and Reports
  • Programming Guide
  • Programming Language
  • SEO
  • Social Networking Sites
  • Software Download
  • Software Engineering
  • System Analysis and Design
  • Top List
  • VB.Net
  • صحة
  • عجائب وغرائب

الأرشيف

  • ►  2017 (4)
    • ►  November (3)
    • ►  October (1)
  • ►  2016 (5)
    • ►  April (5)
  • ▼  2015 (87)
    • ►  August (1)
    • ►  July (8)
    • ►  June (13)
    • ►  May (2)
    • ►  April (2)
    • ►  March (4)
    • ►  February (20)
    • ▼  January (37)
      • Solved MCQ on Core Operating System Principle set-13
      • Objective Questions on Core Operating System set-12
      • Interview Questions on Operating System Basis set-11
      • MCQ on Operating System Fundamental set-10
      • Solved MCQ on Operating System Basis set-9
      • MCQ Questions on Fundamental of Java set-16
      • Interview Questions on Core Java Language set-3
      • Objective Questions on Core Java Language set-2
      • Interview Questions on Overview of Java set-15
      • Solved MCQ on Fundamental of Java Language set-14
      • Interview Questions on Fundamental of C Language s...
      • Solved MCQ on Fundamental of C Language set-7
      • Objective Questions on Ms Power Point in Ms Office...
      • Solved MCQ on Ms PowerPoint in Ms Office set-1
      • Interview Questions on Microsoft Excel with Answer...
      • Objective Questions on Microsoft Excel with Answer...
      • MCQ on Microsoft Excel in Ms Office with Answer set-4
      • MCQ Questions on Microsoft Excel in Ms Office set-3
      • Objective Questions on Ms Excel in Ms Office set-2
      • Solved MCQ on Microsoft Excel in Ms Office set-1
      • Objective Questions on Microsoft Word set-10
      • Solved Interview Questions on Ms Word set-9
      • Interview Questions on Microsoft Word set-8
      • MCQ Questions and Answers on Ms Word set-7
      • Microsoft Word MCQ Questions with Answer set-5
      • MCQ Questions on Ms Word with Answer set-4
      • Solved MCQ Questions on Microsoft Word set-3
      • Solved Objective Questions on Microsoft Word set-2
      • MCQ on Computer Fundamental with Solution set-16
      • MCQ Questions on Computer Fundamental set-15
      • Computer Fundamental Interview Questions set-14
      • Interview Questions on Computer Basis set-13
      • MCQ Questions on Computer Fundamentals set-12
      • Computer Fundamental Quiz with Answer set-11
      • Computer Fundamental Questions and Answers set-10
      • Computer Basis MCQ Questions and Answers set-9
      • MCQ on Computer Fundamentals with Answers set-8
  • ►  2014 (77)
    • ►  December (31)
    • ►  November (4)
    • ►  September (4)
    • ►  August (11)
    • ►  July (8)
    • ►  June (2)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (7)
    • ►  January (4)
  • ►  2013 (132)
    • ►  December (11)
    • ►  November (6)
    • ►  October (4)
    • ►  September (6)
    • ►  August (16)
    • ►  July (9)
    • ►  June (9)
    • ►  May (12)
    • ►  April (13)
    • ►  March (23)
    • ►  February (6)
    • ►  January (17)
  • ►  2012 (59)
    • ►  December (15)
    • ►  November (20)
    • ►  October (21)
    • ►  September (3)

إنضم لنا

© 2017 أفكار جميع الحقوق محفوظة