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 for the code*/
void main()
{
int r;
r=printf("naveen");
r=printf();
printf("%d",r);
getch();
}



/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf..

Answer / amegha

r=printf() sttmnt will produce an error as - too few
parameters in printf().
It needs any argument value.

r=printf("naveen") returns the no of characters printed.
here 6.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Interview Questions

What do you understand by normalization of pointers?

0 Answers  


write a programming in c language, 1 3 5 7 9 11

2 Answers   NIIT,


difference between c and c++?

2 Answers  


What is the restrict keyword in C?

2 Answers  


Dear Sir, we are required the bubble sorting programs Regs Prem

1 Answers  


How does C++ help with the tradeoff of safety vs. usability?

1 Answers  


int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

6 Answers   HCL, Octal, SW,


What are pointers? Why are they used?

0 Answers  


how to find anagram without using string functions using only loops in c programming

1 Answers   Mind Tree, TCS,


What are keywords in c with examples?

0 Answers  


How does sizeof know array size?

0 Answers  


what is computer engg

1 Answers  


Categories