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 Posted / 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 |
Post New Answer View All Answers
Why header file is used in c?
What is the difference between array and structure in c?
Why enum is used in c?
Why does this code crash?
What is a #include preprocessor?
What is void main () in c?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
How do c compilers work?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
write a program to find out prime number using sieve case?
what are enumerations in C
Explain the difference between getch() and getche() in c?
What is variable and explain rules to declare variable in c?
What’s the special use of UNIONS?
What is the scope of an external variable in c?