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


Please Help Members By Posting Answers For Below Questions

What is scanf () in c?

669


Is Exception handling possible in c language?

1588


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2944


How can I call a function with an argument list built up at run time?

648


Is there anything like an ifdef for typedefs?

708






Describe wild pointers in c?

645


Define macros.

787


Explain what is the difference between far and near ?

657


Explain what is gets() function?

639


Is void a keyword in c?

584


find out largest elemant of diagonalmatrix

1653


How can I find out if there are characters available for reading?

650


Which is better oop or procedural?

638


In which layer of the network datastructure format change is done

1439


What is #define size in c?

654