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 / kruthi

0001 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 is static identifier?

1224


Explain b+ tree?

1070


Is it acceptable to declare/define a variable in a c header?

1126


What is sizeof int?

1102


write a program to display all prime numbers

1972


What are formal parameters?

1121


How to implement a packet in C

2889


Is this program statement valid? INT = 10.50;

1155


What is meant by int main ()?

1211


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1092


Explain indirection?

1143


Explain the difference between exit() and _exit() function?

1172


What is use of #include in c?

1169


Apart from dennis ritchie who the other person who contributed in design of c language.

1400


Disadvantages of C language.

1108