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 are the 32 keywords in c?
Why do we use main function?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What do you understand by friend-functions? How are they used?
What is a union?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is the deal on sprintf_s return value?
What the different types of arrays in c?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
How are strings stored in c?
Wt are the Buses in C Language
What is use of #include in c?
Explain the bubble sort algorithm.
Why c is procedure oriented?
What is getche() function?