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

Juxtapose the use of override with new. What is shadowing?

1 Answers  


What tq means in chat?

0 Answers  


what are bitwise shift operators?

4 Answers  


why do we use pointer instead directly acessing the data?

2 Answers  


why integer range between -327680to+32767

2 Answers  






What is the Difference between Macro and ordinary definition?

3 Answers   Bosch, Cognizant, College School Exams Tests, Motorola,


how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 Answers   TCS,


Explain what are run-time errors?

0 Answers  


Explain about the functions strcat() and strcmp()?

0 Answers  


What is null in c?

0 Answers  


How are structure passing and returning implemented?

0 Answers  


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


Categories