/*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 |
application of static variables in real time
What are the similarities between c and c++?
name the language for writing c compiler?
what is link list?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
code for concatination of 2 strings with out using library functions?
What is the difference between c &c++?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Explain setjmp()?
What is the exact difference between '\0' and ""
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is volatile in c language?