All India Exams
Home AptitudeBankEngineeringEnglishGKInterviewOnline TestPlacement PapersReasoning
  • Home
  • Aptitude
  • Bank
  • Engineering
  • English
  • GK
  • Interview
  • Online Test
  • Placement Papers
  • Reasoning

C Functions Questions And Answers

Here you can find C Functions Questions and Answers.

Why C Functions Questions and Answers Required?

In this C Functions Questions and Answers section you can learn and practice C Functions Questions and Answers to improve your skills in order to face technical inerview conducted by Banks. By Practicing these interview questions, you can easily crack any Bank Exams interview.

Where can I get C Functions Questions and Answers?

AllIndiaExams provides you lots C Functions Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download C Functions Questions and Answers as PDF files and eBooks.

How to solve these C Functions Questions and Answers?

You no need to worry, we have given lots of C Functions Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the Bank Exams interview.

C Functions Questions & Answers

1. What is the output of this C code? int main() { void foo(), f(); f(); } void foo() { printf("2 "); } void f() { printf("1 "); foo(); }

C Functions Questions & Answers

2. What is the output of this C code? int main() { void foo(); void f() { foo(); } f(); } void foo() { printf("2 "); }

C Functions Questions & Answers

3. What is the output of this C code? void foo(); int main() { void foo(); foo(); return 0; } void foo() { printf("2 "); }

C Functions Questions & Answers

4. What is the output of this C code? void foo(); int main() { void foo(int); foo(1); return 0; } void foo(int i) { printf("2 "); }

C Functions Questions & Answers

5. What is the output of this C code? void foo(); int main() { void foo(int); foo(); return 0; } void foo() { printf("2 "); }

C Functions Questions & Answers

6. What is the output of this C code? void m() { printf("hi"); } void main() { m(); }

C Functions Questions & Answers

7. What is the output of this C code? void m(); void n() { m(); } void main() { void m() { printf("hi"); } }

C Functions Questions & Answers

8. What is the output of this C code? void main() { m(); void m() { printf("hi"); } }

C Functions Questions & Answers

9. What is the output of this C code? void main() { m(); } void m() { printf("hi"); m(); }

C Functions Questions & Answers

10. What is the output of this C code? void main() { static int x = 3; x++; if (x <= 5) { printf("hi"); main(); } }

- Page 12
Home EngineeringComputer Science & EngineeringC Multiple Choice Questions & AnswersC Functions

C Functions - C Multiple Choice Questions & Answers

This is the c programming questions and answers section on " C Functions" with explanation for various interview, competitive examination and entrance test. Solved examples with detailed answer description, explanation are given and it would be easy to understand.

C Functions Questions

Online Test Name C Functions
Exam Type Multiple Choice Questions
Category Computer Science Engineering Quiz
Number of Questions 86
56. The scope of an automatic variable is:
  • A. Within the block it appears
  • B. Within the blocks of the block it appears
  • C. Until the end of program
  • D. Both (a) and (b)
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option D

Explanation:

None.

Workspace

Report Error


57. Automatic variables are allocated space in the form of a:
  • A. stack
  • B. queue
  • C. priority queue
  • D. random
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


58. Which of the following is a storage specifier?
  • A. enum
  • B. union
  • C. auto
  • D. volatile
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option C

Explanation:

None.

Workspace

Report Error


59. Default storage class if not any is specified for a local variable, is auto:
  • A. true
  • B. false
  • C. Depends on the standard
  • D. None of the mentioned
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


60. Automatic variables are stored in:
  • A. stack
  • B. data segment
  • C. register
  • D. heap
  • View Answer
  • Workspace
  • Report
  • Discuss

Answer & Explanation

Answer: Option A

Explanation:

None.

Workspace

Report Error


  • «
  • 1
  • 2
  • ...
  • 10
  • 11
  • 12
  • 13
  • 14
  • ...
  • 17
  • 18
  • »

Related Topics:

  • Constants
  • File Access
  • Preprocessor
  • Declarations
  • Pointers
  • C Data Types
  • Data Types
  • Conditional Expressions
  • Standard Input and Output
  • C Operators

Mock Tests & Online Quizzes

  • Aptitude Online Test

  • Reasoning Online Test

  • GK Online Test

  • English Online Test

  • RRB Mock Test

  • RBI Mock Test

  • Free SBI Mock Test

  • IBPS Mock Test FREE

  • SSC Mock Test

  • CAT Exam Mock Test

  • GATE Mock Test

  • IT Courses Quiz

Questions and Answers

  • Aptitude Questions
  • Verbal Reasoning Questions
  • Non Verbal Reasoning
  • Logical Reasoning Questions
  • Data Sufficiency Questions
  • Data Interpretation
  • eLitmus Sample Papers
  • ECE Questions and Answers
  • EEE Questions and Answers
  • Verbal Ability Questions
  • GK Questions

Programming Quiz

  • C Programming
  • C++ Programming
  • PHP Programming
  • Java Programming
  • Python Programming
  • DataScience MCQ
  • Hadoop MCQ
  • Mongo DB MCQ
  • MySQL MCQ

Interview Questions

  • Java Interview Questions
  • .Net Interview Questions
  • Networking Interview Questions
  • C Language Interview Questions
  • C++ Interview Questions
  • Testing Interview Questions
  • Android Interview Questions
  • HR Interview Questions
  • Group Discussion Topics

Our Sites

AView.in

© by AllIndiaExams.in. All Rights Reserved | Copyright | Terms of Use & Privacy Policy