What is the output from this program?
#include <stdio.h>
void do_something(int *thisp, int that)
{
int the_other;
the_other = 5;
that = 2 + the_other;
*thisp = the_other * that;
}
int main(void)
{
int first, second;
first = 1;
second = 2;
do_something(&second, first);
printf("%4d%4d\n", first, second);
return 0;
}
Answer Posted / hasan kayman
###1##35 (# sign means space)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the scope of static variable in c?
How can you call a function, given its name as a string?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What are the advantages of c preprocessor?
What is c value paradox explain?
Why c is a mother language?
What is difference between arrays and pointers?
How many levels of pointers have?
How can I find the modification date of a file?
Can include files be nested? How many levels deep can include files be nested?
What is a nested loop?
Why pointers are used?
what is recursion in C
how to build a exercise findig min number of e heap with list imlemented?
Explain can static variables be declared in a header file?