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

pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )

2 Answers   Persistent,


How can we see the Expanded source code and compiled code for our source program in C?

1 Answers  


When is the “void” keyword used in a function?

1 Answers  


What is the difference between array and structure in c?

0 Answers  


Can static variables be declared in a header file?

0 Answers  






program in c to print 1 to 100 without using loop

9 Answers   Wipro,


Can anyone tell what is stack overflow? what precaution we should take?

1 Answers  


What is the difference between if else and switchstatement

0 Answers  


Differentiate call by value and call by reference?

0 Answers   Cyient,


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


Explain how can I avoid the abort, retry, fail messages?

0 Answers  


what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(ā€œ %d\nā€,sum); } what is the difference between a=10 and a=010??

3 Answers   Oracle,


Categories