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 chain pointer in c?

0 Answers  


Write a pro-gramme to determine whether the number is even or odd?

1 Answers  


Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }

1 Answers  


What are the benefits of organizational structure?

0 Answers  


How to add two numbers with using function?

2 Answers   Miracle Solutions,






write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview

2 Answers   Satyam, UNIS, Wipro,


Explain what are its uses in c programming?

0 Answers  


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

0 Answers  


What is the purpose of sprintf?

0 Answers  


Is c easy to learn?

0 Answers  


What is a class c rental property?

0 Answers  


What is the exact difference between '\0' and ""

3 Answers  


Categories