Home
Video Series
Fast Math Tricks
Quantitative Aptitude
Class 8 Maths Videos
Class 9 Maths Videos
Class 10 Maths Videos
Reasoning Videos
Blog
Store
Register /Login
Home
Topic
Question
What is the scope of a function?
Options:
A
.
 Whole source file in which it is defined
B
.
 From the point of declaration to the end of the file in which it is defined
C
.
 Any source file in a program
D
.
 From the point of declaration to the end of the file being compiled
Answer: Option D
None.
Was this answer helpful ?
0 Likes
Next Question
Report Problem
Share
Submit Solution
Your email address will not be published.
Required fields are marked
*
More Questions on This Topic :
Question 1.
Which variable has the longest scope?   int b;   int main()   {       int c;       return 0....int main()   {       int c;       return 0;   }   int a;
Question 2.
What is the scope of an external variable? ....
Question 3.
Array sizes are optional during array declaration by using ______ keyword. ....
Question 4.
What is the output of this C code?   void main()   {       int x = 3;       {         ....= 3;       {           x = 4;           printf("%d", x);       }   }
Question 5.
What is the output of this C code?   int x = 5;   void main()   {       int x = 3;       m(....= 8;       n();   }   void n()   {       printf("%d", x);   }
Question 6.
What is the output of this C code?   static int x;   void main()   {       int x;       pri....void main()   {       int x;       printf("x is %d", x);   }
Question 7.
What is the output of this C code?   void main()   {       m();       m();   }   void m....{       static int x = 5;       x++;       printf("%d", x);   }
Question 8.
What is the output of this C code?   void main()   {       static double x;       int x;   Â....static double x;       int x;       printf("x is %d", x);   }
Question 9.
Which of the following is a correct format for declaration of function? ....
Question 10.
Which of the following function declaration is illegal? ....
Latest Videos
Chapter 1 - GLOBAL STEEL SCENARIO & INDIAN STEEL INDUSTRY
Part 1 : (13-04-2024)
INDUSTRY AND COMPANY AWARENESS (ICA)
Direction Sense Test
Part 1
Reasoning (Hindi)
Chapter 1 - RMHP / OHP / OB & BP
Part 1 : (14-02-2024)
GPOE
Cube & Cuboid
Part 1
Reasoning (Hindi)
Data Interpretation (DI)
Basic Concept
Reasoning (Hindi)
Counting Figures Part 1
Counting Of Straight Lines
Reasoning (Hindi)
Sail E0 free webinar
Webinars
Real Numbers
Part 7
Class 10 Maths
Real Numbers
Part 1
Class 10 Maths
Polynomials
Part 1
Class 10 Maths
Latest Test Papers
Chapter 3.1 : INTRODUCTION
Chapter 3 : Sinter Plant
SAIL E0 - GPOE/GPA 2024
Chapter 2.3 : COAL HANDLING PLANT - Set 1
Chapter 2 : Coke Ovens and Coal Chemicals
SAIL E0 - GPOE/GPA 2024
Chapter 1.1 : INTRODUCTION
Chapter 1 : Raw Material Handling Plant
SAIL E0 - GPOE/GPA 2024
GPOE / GPA Combined 1
Free Revision Test
SAIL JO E-0
DSP Combined 1
Free Revision Test
SAIL JO E-0
One click Login
Login With Google
Old way of Login
Login With Email
Submit Problem
Problem Type (Required)
Choose Problem Type
Incorrect Topic
Incomplete Question
Wrong Question
Wrong Solution
Wrong Option
Explaination : Please write a little about the issue
Submit Solution