/*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 use of typedef in structure in c?
How can I send mail from within a c program?
Explain that why C is procedural?
What do you mean by a local block?
What is #define?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
what are the different storage classes in c?
What are the types of bitwise operator?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What is static memory allocation?
What is the difference between a free-standing and a hosted environment?
Explain 'far' and 'near' pointers in c.
Explain how can you restore a redirected standard stream?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is difference between static and global variable in c?