main() { char *s = "IDIOT"; char *start, *end; start = s; end = s+strlen(s)-1; printf("%c, %c",*start, *end); // prints I T...
struct emp{ char *name; int age; }; struct emp apple; main(){ printf("Enter your name :"); //what do i put in here? printf("Enter you...
main() { char *s1 = "Hello, World!"; char *s2; s2 = (char *)malloc(strlen(s1)*sizeof(char)); int i=0; while(i<strlen(s1)){...
Another interview question. which data structure would you use to program a library, so that books can be found very fast???
I was asked this question in an interview recently List 5 advantages of C over Java! The only things I could think of were C has pointers...
Please help me with this, I am having a hard time!!! main() { int x=10, y=15; x = x++; y = ++y;...
Separate names with a comma.