Question
main(){
char a[100];
a[0]='a';a[1]]='b';a[2]='c';a[4]='d';
abc(a);
}
abc(char a[]){
a++;
printf("%c",*a);
a++;
printf("%c",*a);
}

Answers

The base address is modified only in function and as a result a points to 'b' then after incrementing to 'c' so bc will be printed.   Your Comment






Search
Can you Answer!!
  • Q What is Rational Suite?
  • Q What are the advantages of load commutated chopper?
  • Q A string of decorative holiday lights are lit except for two burnt-out bulbs. Are the bulbs of the string wired in parallel or series with each other?
  • Q What is the use of predictive encoding?
  • Q Explain the Security management in terms of Cloud Computing.
  • Q There are several types of fever, when should dengue be suspected?
  • Q What was the name of the kingdom ruled by Jarasandha?
  • Q What if the current building owner does not want to be the responsible party (building owner/facility manager) under the new fee policy and schedule?
  • Q When i launch inpage, i get a message " of fonts not installed"?
  • Q When was KVGBV launched?
  • Q Why does intravenous infusion of amiodarone cause significant hypotension?