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 |
Juxtapose the use of override with new. What is shadowing?
What tq means in chat?
what are bitwise shift operators?
why do we use pointer instead directly acessing the data?
why integer range between -327680to+32767
What is the Difference between Macro and ordinary definition?
3 Answers Bosch, Cognizant, College School Exams Tests, Motorola,
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
Explain what are run-time errors?
Explain about the functions strcat() and strcmp()?
What is null in c?
How are structure passing and returning implemented?
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }