In the following pgm add a stmt in the function fun such
that the address of
'a' gets stored in 'j'.
main(){
int * j;
void fun(int **);
fun(&j);
}
void fun(int **k) {
int a =0;
/* add a stmt here*/
}
Answer Posted / susie
Answer :
*k = &a
Explanation:
The argument of the function is a pointer to a pointer.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Sir... please give some important coding questions asked by product companies..
write a program for area of circumference of shapes
What is data _null_? ,Explain with code when u need to use it in data step programming ?
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
how to test pierrot divisor
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
write a simple calculator c program to perform addition, subtraction, mul and div.
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??
Write a program to model an exploding firecracker in the xy plane using a particle system
How can you relate the function with the structure? Explain with an appropriate example.
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?