Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Program to find the absolute value of given integer using Conditional Operators

6 Answers   N Tech,


write a c program to calculate sum of digits till it reduces to a single digit using recursion

0 Answers   IBM,


Is malloc memset faster than calloc?

0 Answers  


Explain how can you check to see whether a symbol is defined?

0 Answers  


Why c is called a middle level language?

0 Answers  


what is the difference between c and c++?

7 Answers  


change to postfix a/(b+c*d-e)

8 Answers   Value Labs,


Why is a semicolon (;) put at the end of every program statement?

0 Answers  


writw a program to insert an element in the begning of a doubly linked list

1 Answers  


where are auto variables stored? What are the characteristics of an auto variable?

0 Answers  


Difference between pass by reference and pass by value?

0 Answers   TCS, TISL,


Is c is a high level language?

0 Answers  


Categories