- Q What will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line number:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line number 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
- Q Described abstract method in java programming?
- Q Which Australian state was formerly known as "Van Diemen's Land" ?
- Q Describe an abstract class?
- Q How to remove values saved in the current session?
- Q Where do you see International Law in fifty years' time?
- Q Technical Interview:
- Q Find 3/ (2?)
- Q How dhtml work with javascript?
- Q main(){ char a[4]="HELL"; printf("%s",; }
- Q Do you think Great Britain should be part of a United Europe?