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

Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

0 Answers  


What is #include conio h?

0 Answers  


char *p="name"; printf(p);

1 Answers  


What is the difference between c and python?

0 Answers  


Define macros.

0 Answers   Tech Mahindra,


Can you please explain the scope of static variables?

0 Answers  


When is an interface "good"?

1 Answers  


How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.

12 Answers   NetApp,


What does a run-time "null pointer assignment" error mean?

2 Answers  


write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com

6 Answers  


how can i get output like this? 1 2 3 4 5 6

6 Answers   Excel,


#include<stdio.h> void main() { char *str; long unsigned int add; str="Hello C"; add=&str[0]; printf("%c",add); } What is the output?

4 Answers   Infosys,


Categories