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 / hasan kayman

###1##35 (# sign means space)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the use of a semicolon (;) at the end of every program statement?

1206


What is storage class?

1034


How to delete a node from linked list w/o using collectons?

2753


What's the right way to use errno?

1113


What are the similarities between c and c++?

1034


Explain what is wrong in this statement?

1091


What are pragmas and what are they good for?

962


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1193


What is structure data type in c?

999


What is a c token and types of c tokens?

1037


Explain what are binary trees?

1048


What is break statement?

1084


Why flag is used in c?

1100


What is the difference between variable declaration and variable definition in c?

1037


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

2426