/*what is the output for*/
void main()
{
int r;
printf("Naveen");
r=printf();
getch();
}
Answers were Sorted based on User's Feedback
Answer / prathiba
its a compile time error.bcoz r is of integer type.
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / srikanth
compile time error..r is of type integer,so the could is wrong
| Is This Answer Correct ? | 3 Yes | 1 No |
plz send me all data structure related programs
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above
void main() { char ch; for(ch=0;ch<=127;ch++) printf(ā%c %d \nā, ch, ch); }
main() { int x=5; clrscr(); for(;x<= 0;x--) { printf("x=%d ", x--); } } a. 5, 3, 1 b. 5, 2, 1, c. 5, 3, 1, -1, 3 d. ā3, -1, 1, 3, 5
Who could write how to find a prime number in dynamic array?
main() { char *p="hai friends",*p1; p1=p; while(*p!='\0') ++*p++; printf("%s %s",p,p1); }
void main() { int k=ret(sizeof(float)); printf("\n here value is %d",++k); } int ret(int ret) { ret += 2.5; return(ret); }
write a program in c to merge two array
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
What is data _null_? ,Explain with code when u need to use it in data step programming ?
write a program in c language to get the value of arroy keys pressed and display the message which arrow key is pressed?
int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }