1. Can we use the for loop this way?
for(;i>5;)
2. What is the use of pointers?
3. what is array of pointer?
4. What is the difference between file and database?
5. Define data structure?
Answer / ajitha m.s.
1. This method is false and the correct syntax is
for(initialisation;condition;increment/decrement)
example: for(i=0;i<n;i++)
2.pointers are used to specify address of an element
3.Array of pointers are used to point to an array of data
items with each element of the pointer array pointing to
an element of the data array.
4.A file is a collection of bytes stored together.
database is a collection of tables and each table holds
fields as well as records.
5.Data structure is a particular way of storing and
organizing data in a computer.
| Is This Answer Correct ? | 2 Yes | 3 No |
write an algorithm and a program to count the number of elements in a circularly singly linked list
What is output redirection?
Explain Linker and Loader
what is the use of operator ^ in C ? and how it works?
c program to input values in a table(using 2D array) and print odd numbers from them
Toggle nth bit in a given integer - num
Write a program to generate prime factors of a given integer?
What are the advantages of Macro over function?
what is a constant pointer in C
What is c value paradox explain?
What is the difference between functions abs() and fabs()?
Which is better oop or procedural?