What is a C array and illustrate the how is it different from a list.
Answer / rutuja pawar
Suppose,
int arr[5]={10,20,30,40,50};
I want to add value at index first 60,so array will change like that
arr[5]={10,60,20,30,40,50};
for this output I have to shift the array element.
but in List I can insert directly and delete directly.
that means:
1) In Array: Insertion and deletion is not faster , but Accessing time is less
2)In List: Insertion and deletion is faster but accessing time is more.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the various topologies? Which one is the most secure?
What are loops in c?
Is register a keyword in c?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
Explain what is the difference between #include and #include 'file' ?
What is a stream in c programming?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
post new interiew question and aptitude test papers
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,
Write a program of advanced Fibonacci series.
can u give me the good and very optimised code for a car racing game?