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

When the macros gets expanded?

0 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.

0 Answers  


How do you use a pointer to a function?

0 Answers  


why u join this call center?

6 Answers   DELL,


Mention four important string handling functions in c languages .

0 Answers  






What will be your course of action for a push operation?

0 Answers  


There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.

1 Answers   HCL, iGate,


what is the return type of printf

3 Answers  


main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }

11 Answers   HCL, Vector, Vector India, Vector Solutions, Wipro,


how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);

19 Answers   RMSI,


code for quick sort?

0 Answers  


for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????

7 Answers  


Categories