Given a piece of code
int x[10];
int *ab;
ab=x;
To access the 6th element of the array which of the
following is incorrect?
(A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
Answer Posted / sandzee
d
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What will the preprocessor do for a program?
What is a spanning Tree?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Create a simple code fragment that will swap the values of two variables num1 and num2.
Is swift based on c?
What is a class c rental property?
List the difference between a "copy constructor" and a "assignment operator"?
What is sorting in c plus plus?
What is the heap?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is volatile variable how do you declare it?
Wt are the Buses in C Language
Is boolean a datatype in c?
Where are local variables stored in c?