LakshyaEducation.in

VEDIC MATHS Video Series
  • Home
  • Video Series
    • Vedic Maths Videos
    • Quantitative Aptitude Videos
    • Class 8 Maths Videos
    • Class 9 Maths Videos
    • Class 10 Maths Videos
  • Quiz & Solutions
  • Blog
  • Store
  • Login
  • Contact Us
  • Home
  • Topic
  • C Programming
  • Variable Number Of Arguments

C Programming

VARIABLE NUMBER OF ARGUMENTS MCQs

Total Questions : 25

Page 1 of 3 pages
Question 1.

The macro va_arg is used to extract an argument from the fixed micro argument list and 

advance the pointer to the next argument.


  1.    Yes
  2.    No
 Discuss Question
Answer is Option B. -> No

Question 2.

It is necessary to call the macro va_end if va_start is called in the function.


  1.    Yes
  2.    No
 Discuss Question
Answer is Option A. -> Yes

Question 3.

Can the fixed arguments passed to the function that accepts variable argument list, 

occur at the end?


  1.    Yes
  2.    No
 Discuss Question
Answer is Option B. -> No

Question 4.

Can we write a function that takes a variable argument list and passes the list to another function?


  1.    Yes
  2.    No
 Discuss Question
Answer is Option A. -> Yes

Question 5.

Is it necessary that in a function which accepts variable argument list there should be 

at least be one fixed argument?


  1.    Yes
  2.    No
 Discuss Question
Answer is Option A. -> Yes

Question 6.

While defining a variable argument list function we drop the ellipsis(...)?


  1.    Yes
  2.    No
 Discuss Question
Answer is Option A. -> Yes

Question 7.

va_list is an array that holds information needed by va_arg and va_end


  1.    True
  2.    False
 Discuss Question
Answer is Option A. -> True

Question 8.

A function that receives variable number of arguments should use va_arg() to extract the 

last argument from the variable argument list.


  1.    True
  2.    False
 Discuss Question
Answer is Option B. -> False

Question 9.

The macro va_start is used to initialise a pointer to the beginning of the list of fixed arguments.


  1.    True
  2.    False
 Discuss Question
Answer is Option B. -> False

Question 10.

Can we pass a variable argument list to a function at run-time?


  1.    Yes
  2.    No
 Discuss Question
Answer is Option B. -> No

Every actual argument list must be known at compile time. In that sense it is not truly a 

variable argument list.

  • 1
  • 2
  • 3
  • Next →
  • Share on Facebook!
  • Share on Pinterest!

Sub Topics

  • Arrays
  • Bitwise Operators
  • C Preprocessor
  • Command Line Arguments
  • Complicated Declarations
  • Const
  • Control Instructions
  • Declarations And Initializations
  • Expressions
  • Floating Point Issues
  • Functions
  • Input / Output
  • Library Functions
  • Memory Allocation
  • Pointers
  • Strings
  • Structures
  • Subleties Of Typedef
  • Variable Number Of Arguments

Topics

  • Computer Aptitude
  • SAIL Junior Officer (E-0)
  • 10th Grade
  • 11th Grade
  • 12th Grade
  • 4th Grade
  • 5th Grade
  • 6th Grade
  • 7th Grade
  • 8th Grade
  • 9th Grade
  • NCERT
  • Cat
  • Commerce
  • Computer Science
  • Engineering
  • English
  • General Knowledge
  • Ias
  • Management
  • Quantitative Aptitude
  • Reasoning Aptitude
  • General Studies (Finance And Economics)
  • Analytical Instrumentation
  • Biochemistry
  • Bioinformatics
  • Biology
  • Biotechnology
  • Bitsat
  • Business Statistics
  • C Programming
  • C++ Programming
  • Cell Biology
  • Chemistry
  • Cost Accounting
  • Drug And Pharmaceutical Biotechnology
  • Electrical Measurement And Instrumentation
  • Environment Management
  • Environmental Biotechnology
  • Enzyme Technology
  • Financial Management And Financial Markets
  • Gate
  • General Science
  • Geography
  • Heat Transfer
  • History And National Movements
  • Human Anatomy And Physiology
  • Human And Cultural Diversity
  • Human Resource Management
  • Indian Economy
  • Indian Geography
  • Indian History
  • Indian Polity
  • Instrumentation Transducers
  • International Relations
  • Life Sciences
  • Marketing And Marketing Management
  • Mass Transfer
  • Mechanics Of Materials
  • Microbiology
  • Neet
  • Professional Communication
  • Renewable Energy
  • Sociology
  • Surveying
  • Total Quality Management
  • Uidai Aadhaar Supervisor Certification
  • Virology

Recent Questions

Q.   In Each Question, The First And The Last Sentences Of The Pa....

Q.   His Death Is A Great Blow, Most Terrible To . . . . . . . .

Q.   Azure Blob Storage Offers How Many Storage Tiers?

Q.   Find Out Whether There Is Any Grammatical Error In Below Sen....

Q.   In Power Point, This Is A Container For Text Or Graphics.

Q.   Symmetric Multiprocessing (SMP) Architectures Are Useful For....

Q.   It Is An Instrument That Entitles The Holder To A Proportio....

Q.   In Each Question Below A Sentence Broken Into Four Or Five P....

Q.   The Playground Of Lawn Tennis Is Called

Q.   How Many Numbers (N) Can We Have, Such That 100<N<1000....

Q.    a Button That Makes Characters Either Upper Or Lower Case ....

Q.    the Area Of A Rectangle Is 45 Cm². If Its Length Is 9 Cm,....

Q.   Which Of The Following Presentation Elements Can You Modify ....

Q.   Di....

Q.   Adversity

Q.   1 U = _______ Nanokatals.

Q.   The Manner In Which Bombs Exploded In Five Trains With In A ....

Q.   Spiny Seeds With Hooks are Dispersed By Animals.

Q.   The Process Of Improving The Cutting Action Of The Grinding ....

Q.   To Meet The Educational Needs Of The People, The Madarasa-I ....

LakshyaEducation.in
Lakshya Education
Bhilai,Chattisgarh,India
Email: admin@lakshyaeducation.in Phone: 07893519977 (WhatsApp)

Quick Links

  • Vedic Maths
  • Quantitative Aptitude
  • Class – IX Maths
  • Class – X Maths
  • YouTube Channel
  • Maths Fast Trick
  • Blog

Our Services

  • About us
  • Privacy
  • TOS
  • Refund / Cancellation
  • Contact
  • Affiliate Program
  • Copyright © 2022 All Right Reserved | Lakshya Education     ( )
    Login / Register

    Your Account will be created automatically when you click the below Google or Facebook Login Button.
    •   Login With Facebook
    •  Login With Google
     Login With Email/Password