/*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
please send me the code for multiplying sparse matrix using c
What does sizeof function do?
What is 'bus error'?
Explain what does a function declared as pascal do differently?
What does the && operator do in a program code?
Why void is used in c?
Which is better oop or procedural?
How can I send mail from within a c program?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
How is null defined in c?
What are the 4 types of programming language?
What is string in c language?
What are the benefits of c language?
What is the g value paradox?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;