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;
}

Answers were Sorted based on User's Feedback



What is the output from this program? #include <stdio.h> void do_something(int *thisp, ..

Answer / kruthi

0001 35

Is This Answer Correct ?    2 Yes 0 No

What is the output from this program? #include <stdio.h> void do_something(int *thisp, ..

Answer / srikanth karnati

1,35

Is This Answer Correct ?    2 Yes 0 No

What is the output from this program? #include <stdio.h> void do_something(int *thisp, ..

Answer / hasan kayman

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what are the difference between ANSI C and Let Us c and Turbo C

4 Answers   LG Soft,


enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above

8 Answers   HCL, Wipro,


What is enumerated data type in c?

0 Answers  


What is a stream water?

0 Answers  


In C programming, what command or code can be used to determine if a number of odd or even?

0 Answers  


What do you mean by a sequential access file?

0 Answers  


What is c basic?

0 Answers  


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

0 Answers  


find the sum of two matrices and WAP for it.

0 Answers   Huawei,


Is it possible to create recycle bin in mobiles?

2 Answers  


#define d 10+10 main() { printf("%d",d*d); }

6 Answers  


What are advantages and disadvantages of recursive calling ?

12 Answers   College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,


Categories