Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain a pre-processor and its advantages.

1133


what are # pragma staments?

2046


What are bitwise shift operators in c programming?

1081


Write a code on reverse string and its complexity.

1035


What are c preprocessors?

1188


What's the total generic pointer type?

1055


a c code by using memory allocation for add ,multiply of sprase matrixes

2800


What is the ANSI C Standard?

1269


How can I ensure that integer arithmetic doesnt overflow?

1165


Differentiate call by value and call by reference?

965


Is using exit() the same as using return?

1356


Explain the advantages and disadvantages of macros.

1103


What does char * * argv mean in c?

1064


What is the use of parallelize in spark?

1030


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1087