Where are local variables stored in c?
No Answer is Posted For this Question
Be the First to Post Answer
Should a function contain a return statement if it does not return a value?
Determine if a number is a power of 2 at O(1).
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 */ }
What are called c variables?
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
Can a function argument have default value?
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
which types of data structure will i use to convert infix to post fix???
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.
How do I get a null pointer in my programs?
What functions are used in dynamic memory allocation in c?
How do I swap bytes?