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 is openmp in c?

0 Answers  


Explain indirection?

0 Answers  


How macro execution is faster than function ?

0 Answers   Wipro,


What is mean by data types in c?

0 Answers  


please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }

3 Answers  


Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort

3 Answers  


what is the return type of printf

3 Answers  


#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.

0 Answers  


plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 Answers  


How do you access command-line arguments?

1 Answers  


What is the memory allocated by the following definition ? int (*x)();

2 Answers   ADITI,


Not all reserved words are written in lowercase. TRUE or FALSE?

0 Answers  


Categories