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?
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 |
How to get string length of given string in c?
how can we use static and extern?and where can we use this?
What is extern variable in c with example?
What is p in text message?
Explain what is a pragma?
What is the use of a ‘’ character?
What is a pointer in c plus plus?
main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }
triangle number finding program...
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
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)
what are bps & baud rates? differentiate these two?