Rapunzel walks into the forest of forgetfullness. She meets
a Lion who lies on Monday Tuesdays and Wednesdays and meets
a rabbit who lies on Thurs fridays and saturdays . On that
day both say that "I lied yesterday". What day is it .
Answers were Sorted based on User's Feedback
Answer / mayank anand
as the forest was of forgetfullness than how could rabit or
lion remember that which day they had lied
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / aaftabrai
it is sunday, bcz it z d only day wen both are awaked,& asforgetfullness they said so.!!
Is This Answer Correct ? | 3 Yes | 1 No |
Explain what are global variables and explain how do you declare them?
What are global variables and explain how do you declare them?
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
What are shell structures used for?
what is the first address that gets stored in stack according to a C or C++ compiler???? or what will be the first address that gets stored when we write a C source code????????
How many header files are in c?
write a program in C to swap two variables
What is the role of this pointer?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is .obj file in c?
What is the difference between Printf(..) and sprint(...) ?