char *s = "IDIOT";
char *start, *end;
start = s;
end = s+strlen(s)-1;
printf("%c, %c",*start, *end); // prints I T...
struct emp apple;
printf("Enter your name :");
//what do i put in here?
char *s1 = "Hello, World!";
s2 = (char *)malloc(strlen(s1)*sizeof(char));
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!!!
int x=10, y=15;
x = x++;
y = ++y;...
Separate names with a comma.