how write a addtion of two single dimensional array using
of pointer in c language?
Answer Posted / *c
int a[10];
int b [10];
int c [10];
int i;
for (i=0;i<foo;i++) {
*(c+i) = *(a+i) + *(b+i);
}
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Can we initialize extern variable in c?
What do you mean by scope of a variable in c?
Does c have circular shift operators?
Where are local variables stored in c?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Why is it that not all header files are declared in every C program?
What is a stream water?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
How can you avoid including a header more than once?
Define circular linked list.
What is a null string in c?
How do we open a binary file in Read/Write mode in C?
I have a varargs function which accepts a float parameter?
What are 'near' and 'far' pointers?
What do you mean by dynamic memory allocation in c?