GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Wipro  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 105 of 157    Print  
Which variable can be accessed by all the functions of a program?
global




  
Total Answers and Comments: 2 Last Update: February 23, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 18, 2006 14:34:58   #1  
swaant        

RE: Which variable can be accessed by all the functio...

external variables


 
Is this answer useful? Yes | No
February 23, 2006 14:34:29   #2  
bharti bhandari        

RE: Which variable can be accessed by all the functio...
global variables
 
Is this answer useful? Yes | No

 Related Questions

When an array is passed to a function what exactly is passed. A. The values of the array B. The address of the starting variable in the array. C. The addresses of the elements in the array D. None

Latest Answer : The compiler will give an error "undefined symbol I". ...

Latest Answer : Hello..I feel the answer is that this will not work.f is undefined.printf statement should be rectified.c ya. ...

x is underlined in exit  

Latest Answer : fact(n)where fact(int n) is the function with code k = n*fact(n-1) and returns k ...


What is the output of the program? main() { char a='123' printf ("%c n",a); return 0; } A. ASCII value of 121 B. 1 C. 3 D. none of these

In queue where do you insert a data? A. front B. rear C. middle C program code int zap(int n) { if(n<=1) then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap A. 8 B. 9 C. 6 D. 12 E. 15

global  
Latest Answer : global variables ...

Latest Answer : errorsince 4[] cannot be declared as a variable ...


 Sponsored Links

 
Related Articles

Microsoft AJAX Library - Anonymous Functions

Anonymous Functions Anonymous functions can be created adhoc and used instead of a named function Although this can hinder readability when the function is more complex you can do this if you don t intend to reuse a function s code In the following example we pass such an anonymous function to Displ
 

Microsoft AJAX Library - Functions as Variables

Functions as Variables In JavaScript functions are first class objects This means that a function is regarded as a data type whose values can be saved in local variables passed as parameters and so on For example when defining a function you can assign it to a variable and then call the function thr
 

Microsoft AJAX Library - JavaScript Functions

JavaScript Functions A simple fact that was highlighted in the previous chapter but that is often overlooked is key to understanding how objects in JavaScript work code that doesn t belong to a function is executed when it s read by the JavaScript interpreter while code that belongs to a function is
 

ERPAdvantages for Management Functions

ERP Advantages for Management Functions ERP management systems provide a technology platform in which organizations can integrate and coordinate their main internal business processes They use this to fight against the problem of the organizational inefficiency brought on by the use of different sys
 

C++ Static Functions

C Static Functions Static member functions have a class scope and they do not have access to the this pointer of the class When a member is declared as static a static member of class it has only one data for the entire class even though there are many objects created for the class The main usage of
 

C++ Virtual Functions

C Virtual Functions What are Virtual Functions Virtual as the name implies is something that exists in effect but not in reality The concept of virtual function is the same as a function but it does not really exist although it appears in needed places in a program The object oriented programming la
 

C++ Inline Functions

C Inline Functions In this C tutorial you will learn about Inline function what is inline function reason for the need of inline function what happens when an inline function is written general format of inline function explained with example mosgoogle center What is Inline Function Inline functions
 

String handling functions

What is the string handling functions present in header file &lt;string.h&gt;? There are number of string handling functions present in string.h. In other words if a programmer uses any of the function present in string.h then they must include the header file as #include &lt;string.h&am
 

What happens when a variable is not initialized in main function?

When a variable is not initialized in main function it contains garbage value. This can be well seen from the example below main() { int x; printf(&ldquo;%d&rdquo;,x); z= sample() } sample() { printf(&ldquo;Testing program&rdquo;); } Output is &nbsp;&nbsp;&n
 

What happens when a variable is not declared in function definition?

Generally in C program the function definition and calling takes the form as given below: main() { int x,y,z; z=sample(x,y); printf(&ldquo;%d&rdquo;,z); } sample(x1,y1) int x1,y1; { int z1; z1= x1 - y1; return(z1); } Here what happens is the values x, y gets passed to x1,y1
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape