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 are the different data types in C?

1210


What is the difference between if else and switchstatement

1943


How does sizeof know array size?

1131


Explain what is the concatenation operator?

1179


Is it possible to pass an entire structure to functions?

1002


Explain the difference between strcpy() and memcpy() function?

1026


What is echo in c programming?

1036


Difference between Shallow copy and Deep copy?

2032


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1043


What is a const pointer in c?

1141


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2686


What is property type c?

1098


How do you define structure?

1053


Are global variables static in c?

1178


What is the difference between the = symbol and == symbol?

1130