/*what is the output for the code*/
void main()
{
int r;
r=printf("naveen");
r=printf();
printf("%d",r);
getch();
}
Answer Posted / 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 View All Answers
What is the difference between call by value and call by reference in c?
Is it cc or c in a letter?
Why & is used in scanf in c?
What is type qualifiers?
What is && in c programming?
I have a varargs function which accepts a float parameter?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Is it better to use malloc() or calloc()?
What are the different types of endless loops?
How can I find out if there are characters available for reading?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is fflush() function?
What are the types of type specifiers?
What is build process in c?
Is c easier than java?