/*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
How to declare a variable?
What is the right type to use for boolean values in c?
What does c mean before a date?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Can a pointer be volatile in c?
using only #include
What does. int *x[](); means ?
What is the general form of function in c?
#include
How was c created?
What are the types of operators in c?
how to introdu5ce my self in serco
Why static is used in c?
Explain a file operation in C with an example.