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

Where static variables are stored in memory in c?

519


What is static memory allocation? Explain

626


develop algorithms to add polynomials (i) in one variable

1731


p*=(++q)++*--p when p=q=1 while(q<=6)

1264


how is the examination pattern?

1591






What is auto keyword in c?

785


Can you write a programmer for FACTORIAL using recursion?

606


Are pointers integers in c?

604


Which driver is a pure java driver

984


What are the advantage of c language?

544


Write a program to reverse a given number in c?

592


What is f'n in math?

611


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

628


What is the code for 3 questions and answer check in VisualBasic.Net?

1682


What is meant by preprocessor in c?

526