/*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
Tell me can the size of an array be declared at runtime?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is the data segment that is followed by c?
How can I make sure that my program is the only one accessing a file?
Between macros and functions,which is better to use and why?
What are file streams?
What is derived datatype in c?
How is pointer initialized in c?
Explain the process of converting a Tree into a Binary Tree.
Define macros.
How do I use strcmp?
How many levels of pointers can you have?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is a scope resolution operator in c?
simple program of graphics and their output display