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} .
Answers were Sorted based on User's Feedback
How can I manipulate strings of multibyte characters?
Write a program to print fibonacci series using recursion?
What is the main difference between calloc () and malloc ()?
What functions are in conio h?
Is there anything like an ifdef for typedefs?
is assignment operator is arithmatic or not
What is main return c?
1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.
what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>
What is meant by operator precedence?
Can i use “int” data type to store the value 32768? Why?
Can variables be declared anywhere in c?