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
Give me the code of in-order recursive and non-recursive.
What is the difference between array and pointer in c?
What is p in text message?
Write a program which returns the first non repetitive character in the string?
How variables are declared in c?
How to create struct variables?
Can the size of an array be declared at runtime?
Can you please explain the difference between syntax vs logical error?
How many types of functions are there in c?
Explain what is the benefit of using enum to declare a constant?
Explain what is the stack?
Are comments included during the compilation stage and placed in the EXE file as well?
What is difference between arrays and pointers?
What is optimization in c?
What is the difference between text and binary i/o?