/*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 |
Will Macros support multiple arguments ?
how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0
What tq means in chat?
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
What are the types of pointers in c?
By using C language input a date into it and if it is right?
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?
what is inline function?
# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is pointer to pointer in c?
what is c language.