plz tell me the solution..........
in c language program guess any one number from 1 to 50 and
tell that number within 8 asking question in yes or
no...............
Answers were Sorted based on User's Feedback
Answer / danish
he ask for 8 question
so it can be any 8 question ,
now use divide -conquer apprach to solve this problem as
Is it number <= 25
then, again split the range and within 8 question you can solve question......
GOOD BYE
| Is This Answer Correct ? | 5 Yes | 0 No |
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
void ( * abc( int, void ( *def) () ) ) ();
pls anyone can help me to write a code to print the values in words for any value.Example:1034 to print as "one thousand and thirty four only"
main() { int i = 3; for (;i++=0;) printf(“%d”,i); }
int a=1; printf("%d %d %d",a++,a++,a); need o/p in 'c' and what explanation too
Write a procedure to implement highlight as a blinking operation
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
Write a program that produces these three columns sequence nos. using loop statement Sequence nos. Squared Squared + 5 1 1 6 2 4 9 3 9 14 4 16 21 5 25 30
how can i cast a char type array to an int type array
void main() { int k=ret(sizeof(float)); printf("\n here value is %d",++k); } int ret(int ret) { ret += 2.5; return(ret); }
void main() { if(~0 == (unsigned int)-1) printf(“You can answer this if you know how values are represented in memory”); }