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


Please Help Members By Posting Answers For Below Questions

What are the 32 keywords in c?

632


Why do we use main function?

633


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1655


What do you understand by friend-functions? How are they used?

643


What is a union?

609






which is conditional construct a) if statement b) switch statement c) while/for d) goto

737


What is the deal on sprintf_s return value?

641


What the different types of arrays in c?

610


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

621


How are strings stored in c?

593


Wt are the Buses in C Language

2749


What is use of #include in c?

592


Explain the bubble sort algorithm.

641


Why c is procedure oriented?

572


What is getche() function?

607