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?



1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is arr..

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

Post New Answer

More C Interview Questions

What is the difference between char array and char pointer?

0 Answers  


Explain what is the difference between #include and #include 'file' ?

0 Answers  


How many loops are there in c?

0 Answers  


who is the founder of c

19 Answers   College School Exams Tests, HP,


what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 Answers  






What is scope rule in c?

0 Answers  


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

0 Answers  


What is meant by gets in c?

0 Answers  


What is meant by global static? why we have to use static variable instead of Global variable

4 Answers   L&T,


How do you construct an increment statement or decrement statement in C?

0 Answers  


What is indirection in c?

0 Answers  


what is the difference between strcpy() and memcpy() function?

2 Answers  


Categories