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 |
Program to find the absolute value of given integer using Conditional Operators
write a c program to calculate sum of digits till it reduces to a single digit using recursion
Is malloc memset faster than calloc?
Explain how can you check to see whether a symbol is defined?
Why c is called a middle level language?
what is the difference between c and c++?
change to postfix a/(b+c*d-e)
Why is a semicolon (;) put at the end of every program statement?
writw a program to insert an element in the begning of a doubly linked list
where are auto variables stored? What are the characteristics of an auto variable?
Difference between pass by reference and pass by value?
Is c is a high level language?