Which command is more efficient?
*(ptr+1) or ptr[1]

Answer Posted / priya

*(ptr+1)

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is linux written in c?

603


What is storage class?

658


please send me the code for multiplying sparse matrix using c

1730


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1528


Why do some versions of toupper act strangely if given an upper-case letter?

636






Who invented b language?

924


How can I implement sets or arrays of bits?

609


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

776


What are dangling pointers? How are dangling pointers different from memory leaks?

631


What is bin sh c?

586


What is a scope resolution operator in c?

756


Why dont c comments nest?

625


What is zero based addressing?

722


What is volatile variable in c?

660


What is the use of bit field?

648