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 do we use static in c?
What is a lookup table in c?
What are predefined functions in c?
what are bit fields in c?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What the advantages of using Unions?
What is the easiest sorting method to use?
How can you draw circles in C?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Is javascript based on c?
explain what is fifo?
ATM machine and railway reservation class/object diagram
difference between Low, Middle, High Level languages in c ?
What is c language & why it is used?