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...


6)What would be the output?

main()
{
int u=1,v=3;
pf("%d%d",u,v);
funct1(&u,&v);
pf("%d%d\n",u,v);
}
void funct1(int *pu, int *pv)
{
*pu=0;
*pv=0;
return;
}

a)1 3 1 3
b)1 3 1 1
c)1 3 0 0
d)1 1 1 1
e) 3 1 3 1

Answers were Sorted based on User's Feedback



6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / aswini

Answer is 1 3 0 0.

Is This Answer Correct ?    9 Yes 1 No

6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / ramlal bishnoi

b)1 3 1 1

Is This Answer Correct ?    2 Yes 0 No

6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / rajesh

c) 1 3 0 0

Check www.codepad.org

Is This Answer Correct ?    1 Yes 0 No

6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / niranjan kumar niraj

a)1313

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a c program to check weather a particluar bit is set or not?

5 Answers   IBM,


12345 1234 123 12 1

2 Answers  


Are the outer parentheses in return statements really optional?

0 Answers  


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

0 Answers  


What header files do I need in order to define the standard library functions I use?

0 Answers  


1,1,5,17,61,217,?,?.

3 Answers   Apple,


What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture, Wipro,


What is the difference between array and pointer in c?

0 Answers  


What's the difference between constant char *p and char * constant p?

0 Answers   Celstream,


Which type of language is c?

0 Answers  


Why we use void main in c?

0 Answers  


What do you mean by dynamic memory allocation in c?

0 Answers  


Categories