/*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 |
Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack
How can I write a function that takes a format string and a variable number of arguments?
int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????
How pointers are declared?
What is the use of getchar() function?
what is the difference between char * const and const char *?
How do you write a program which produces its own source code as its output?
What is the most efficient way to count the number of bits which are set in an integer?
Explain what is meant by 'bit masking'?
a simple program in c language
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
What is a pointer on a pointer in c programming language?