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 Posted / 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 View All Answers
What is gets() function?
Why isnt any of this standardized in c?
What are the modifiers available in c programming language?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is #include stdio h and #include conio h?
What is external variable in c?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Write a program to identify if a given binary tree is balanced or not.
What are the types of assignment statements?
What does the error message "DGROUP exceeds 64K" mean?
What is the total generic pointer type?
What is difference between arrays and pointers?
What is the difference between union and anonymous union?
Can you subtract pointers from each other? Why would you?
What are the features of c languages?