Where are local variables stored in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Should a function contain a return statement if it does not return a value?

0 Answers  


Determine if a number is a power of 2 at O(1).

2 Answers  


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


What are called c variables?

0 Answers  


how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 Answers   TCS,






Can a function argument have default value?

0 Answers   Genpact,


study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above

15 Answers   Accenture, TCS,


which types of data structure will i use to convert infix to post fix???

5 Answers   IIT,


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

0 Answers  


How do I get a null pointer in my programs?

0 Answers  


What functions are used in dynamic memory allocation in c?

0 Answers  


How do I swap bytes?

0 Answers  


Categories