Which command is more efficient?
*(ptr+1) or ptr[1]
Answer Posted / purna
*(ptr+1);
Internally the same operation is performed with the next
one also.
it takes less time.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How are 16- and 32-bit numbers stored?
What is the use of getch ()?
What is sorting in c plus plus?
List the variables are used for writing doubly linked list program.
How can I dynamically allocate arrays?
What is c token?
Are there namespaces in c?
Explain what are the standard predefined macros?
Difference between exit() and _exit() function?
What is the benefit of using an enum rather than a #define constant?
What is the sizeof () operator?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Tell me about low level programming languages.
Is there sort function in c?
Explain about block scope in c?