/*what is the output for the code*/
void main()
{
int r;
r=printf("naveen");
r=printf();
printf("%d",r);
getch();
}
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 |
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
can anyone please tell about the nested interrupts?
Differentiate Source Codes from Object Codes
How do you list files in a directory?
Explain enumerated types in c language?
print a "hello" word without using printf n puts in c language
Why array starts with index 0
What is encapsulation?
c language interview questions & answer
Why ca not I do something like this?
Explain what is the difference between the expression '++a' and 'a++'?
How to define structures? ·