A function can make the value of a variable available to another by
a) declaring the variable as global variable
b) Passing the variable as a parameter to the second function
c) Either of the two methods in (A) and (B)
d) binary stream
No Answer is Posted For this Question
Be the First to Post Answer
What is substring in c?
What are the differences between new and malloc in C?
What is void main () in c?
Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is #define?
Can you subtract pointers from each other? Why would you?
Explain how can you tell whether a program was compiled using c versus c++?
write a c program to find the roots of a quadratic equation ax2 + bx + c = 0
11 Answers CSC, St Marys, TATA,
Does free set pointer to null?
What is operator precedence?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }