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 / kruthi
0001 35
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the process of converting a Tree into a Binary Tree.
What is the purpose of ftell?
Describe explain how arrays can be passed to a user defined function
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What is volatile keyword in c?
find the sum of two matrices and WAP for it.
What is else if ladder?
By using C language input a date into it and if it is right?
How to write a multi-statement macro?
what is the difference between class and unio?
The file stdio.h, what does it contain?
What is dynamic memory allocation?
Explain the difference between strcpy() and memcpy() function?
What is operator precedence?
How many identifiers are there in c?