What is the Difference between Class and Struct?
Answer Posted / santhosh.r
Structs allocates continues memory
where as class does not
structs and functions are the basic idea behind class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What is main () in c?
Which is the memory area not included in C program? give the reason
How can a string be converted to a number?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is the difference between array and pointer in c?
Dont ansi function prototypes render lint obsolete?
What is #include cctype?
What is the size of array float a(10)?
How many levels of indirection in pointers can you have in a single declaration?
What is clrscr in c?
What does the c in ctime mean?
What is the use of a ‘ ’ character?
Explain the difference between ++u and u++?
What does c mean before a date?