What is variable in c with example?



What is variable in c with example?..

Answer / utsav patel

in c language five types of variable are present
1) local variable.
2) global variable.
3) static variable.
4) automatic variable.
5) external variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.

2 Answers  


Why do we use int main?

0 Answers  


totally how much header files r in c language

8 Answers   TCS,


Differentiate between the = symbol and == symbol?

0 Answers  


Why c is called free form language?

0 Answers  


What are reserved words with a programming language?

0 Answers  


shorting algorithmS

0 Answers   Wipro,


What is a memory leak? How to avoid it?

1 Answers  


what is the difference between entry control and exit control statement?

12 Answers   Darbari Lal DAV Model School,


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

0 Answers  


what's the return value of malloc()

9 Answers  


program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,


Categories