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 methods in c?

1142


What is the size of array float a(10)?

1191


What are the advantages of using Unions?

1171


Can we declare function inside main?

1049


Can you write a programmer for FACTORIAL using recursion?

1100


Explain the Difference between the New and Malloc keyword.

1188


What is the benefit of using an enum rather than a #define constant?

1320


Differentiate fundamental data types and derived data types in C.

1089


Write a function that will take in a phone number and output all possible alphabetical combinations

1100


What is multidimensional arrays

1175


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

2174


Why c is called a mid level programming language?

1111


Write the syntax and purpose of a switch statement in C.

1151


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

1321


What is the scope of global variable in c?

1035