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
  • Complicated Declarations

C Programming

COMPLICATED DECLARATIONS MCQs

Total Questions : 35

Page 1 of 4 pages
Question 1.


Are the following declarations same?



c* scr;har far *far *scr;
char far far*

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

Question 2.

Is the following declaration correct?
void(*f)(int, void(*)());


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

f is a pointer to a function which returns nothing and receives as its parameter an integer

 and a pointer to a function which receives nothing and returns nothing.

Question 3.

Is the following declaration correct?
char (* ( *f())[])();


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

f is a function that returns a pointer to an array of pointers to functions that return a char

Question 4.

Is the following declaration correct?
char far *far *ptr;


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

ptr is a far pointer to a far pointer to a char. (or) ptr contains a far address of a far pointer to a char

Question 5.

Is the following declaration correct?
typedef *void (*pfun)(**int, *float);


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

Question 6.

We can allocate a 2-Dimensional array dynamically.


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

Question 7.

We can modify the pointers "source" as well as "target".


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

Question 8.

Does the data type of all elements in the union will be same.


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

Question 9.

It is not necessary to typecast the address returned by malloc().


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

Question 10.

Function can return a floating point number.


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

  • 1
  • 2
  • 3
  • 4
  • 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.   DIVA:OPERA

Q.   All Computers Must Have __________

Q.   Which Of The Following Statements Are Correct With Regard To....

Q.   (solve As Per The Direction Given Above)

Q.   Deficiency Of 'Thiamine' Causes

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

Q.   IRS 1A And 1B Satellites Can Carry Which Of The Following Se....

Q.   ....

Q.   For A Dc Machine Shunt Resistance And Armature Resistance Va....

Q.   ....

Q.   Who Among The Following Was The First English Man To Visit W....

Q.   Find The Correctly Spelt Word

Q.   The Color Of Fluorine Is

Q.   Rashi Went  toy Shopping With Her Mother And Saw A Toy ....

Q.   The Process Partially Responsible For The Life On Earth Is

Q.   What Is The Place Of The Indian Men's Cricket Team In The La....

Q.   ....

Q.   Match The Following: 1. Nishka (i) Later Vedic Coi....

Q.   Which Fertiliser Is Made (using Coke Oven Gas) In By Product....

Q.   ....

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