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 / srikanth karnati
1,35
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the advantage of an array over individual variables?
what is ur strangth & weekness
what do the 'c' and 'v' in argc and argv stand for?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
what value is returned to operating system after program execution?
What are run-time errors?
What happens if a header file is included twice?
Can you mix old-style and new-style function syntax?
What is the meaning of ?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Why static is used in c?
Explain what is the difference between a free-standing and a hosted environment?
How can you determine the size of an allocated portion of memory?
c program to compute AREA under integral
What is new line escape sequence?