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

How to get string length of given string in c?

0 Answers  


how can we use static and extern?and where can we use this?

3 Answers   Excel,


What is extern variable in c with example?

0 Answers  


What is p in text message?

0 Answers  


Explain what is a pragma?

0 Answers  






What is the use of a ‘’ character?

0 Answers  


What is a pointer in c plus plus?

0 Answers  


main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }

4 Answers  


triangle number finding program...

1 Answers   HCL,


what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }

3 Answers  


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

0 Answers   Wipro,


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


Categories